2019-08-20 12:36:59 +00:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
|
|
|
|
android {
|
2020-06-09 07:22:27 +00:00
|
|
|
compileSdkVersion 29
|
2019-08-20 12:36:59 +00:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "io.github.chronosx88.yggdrasil"
|
2020-06-16 20:25:39 +00:00
|
|
|
minSdkVersion 21
|
2020-06-09 07:22:27 +00:00
|
|
|
targetSdkVersion 29
|
2020-06-17 07:43:59 +00:00
|
|
|
versionCode 2
|
2020-06-19 10:25:32 +00:00
|
|
|
versionName "1.1"
|
2019-08-21 09:11:57 +00:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
2020-06-19 10:25:32 +00:00
|
|
|
project.ext.set("archivesBaseName", project.getParent().name+"-"+versionName)
|
2019-08-20 12:36:59 +00:00
|
|
|
}
|
2020-06-09 11:05:12 +00:00
|
|
|
signingConfigs {
|
2020-06-09 11:19:30 +00:00
|
|
|
release {
|
2020-06-09 15:38:39 +00:00
|
|
|
storeFile file(KEYSTORE_FILE_PATH)
|
2020-06-09 11:05:12 +00:00
|
|
|
storePassword System.getenv("KEYSTORE_PASSWORD")
|
|
|
|
keyAlias System.getenv("KEY_ALIAS")
|
|
|
|
keyPassword System.getenv("KEY_PASSWORD")
|
|
|
|
}
|
|
|
|
}
|
2019-08-20 12:36:59 +00:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
2020-06-09 11:21:53 +00:00
|
|
|
signingConfig signingConfigs.release
|
2019-08-20 12:36:59 +00:00
|
|
|
}
|
|
|
|
}
|
2020-06-09 15:13:09 +00:00
|
|
|
ndkVersion "21.2.6472646"
|
2020-06-20 20:40:56 +00:00
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = '1.8'
|
|
|
|
}
|
2019-08-20 12:36:59 +00:00
|
|
|
}
|
|
|
|
|
2020-06-20 20:40:56 +00:00
|
|
|
|
2019-08-20 12:36:59 +00:00
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
2019-08-23 07:54:00 +00:00
|
|
|
implementation project(path: ':yggdrasil')
|
2020-06-21 13:54:16 +00:00
|
|
|
|
2020-06-17 07:43:59 +00:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
2019-08-21 09:11:57 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2020-06-21 13:54:16 +00:00
|
|
|
implementation "androidx.preference:preference-ktx:1.1.1"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
|
|
|
2020-06-17 07:43:59 +00:00
|
|
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7'
|
|
|
|
implementation 'com.google.android.material:material:1.3.0-alpha01'
|
2020-06-09 07:22:27 +00:00
|
|
|
implementation 'com.google.code.gson:gson:2.8.6'
|
2020-06-20 20:40:56 +00:00
|
|
|
implementation 'com.hbb20:ccp:2.4.0'
|
2020-06-21 13:54:16 +00:00
|
|
|
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test:runner:1.2.0'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2020-06-17 07:43:59 +00:00
|
|
|
}
|