|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'kotlin-android'
|
|
|
|
}
|
|
|
|
|
|
|
|
def keystorePropertiesFile = rootProject.file("keystore.properties")
|
|
|
|
def keystoreProperties = new Properties()
|
|
|
|
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
|
|
|
|
|
|
|
android {
|
|
|
|
signingConfigs {
|
|
|
|
AceKeystore {
|
|
|
|
keyAlias keystoreProperties['keyAlias']
|
|
|
|
keyPassword keystoreProperties['keyPassword']
|
|
|
|
storeFile file(keystoreProperties['storeFile'])
|
|
|
|
storePassword keystoreProperties['storePassword']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileSdkVersion 31
|
|
|
|
buildToolsVersion "32.1.0-rc1"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.github.acedroidx.frp"
|
|
|
|
minSdkVersion 22
|
|
|
|
targetSdkVersion 31
|
|
|
|
versionCode 2
|
|
|
|
versionName "1.0.1"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
|
|
|
signingConfig signingConfigs.AceKeystore
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
signingConfig signingConfigs.AceKeystore
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
signingConfig signingConfigs.AceKeystore
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_11
|
|
|
|
targetCompatibility JavaVersion.VERSION_11
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '11'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
|
|
|
implementation 'com.google.android.material:material:1.5.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
|
|
|
testImplementation 'junit:junit:4.13.1'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
}
|