taotoolbox/common/build.gradle

52 lines
1.5 KiB
Groovy
Raw Normal View History

2021-05-09 17:23:52 +00:00
plugins {
id 'com.android.library'
id 'kotlin-android'
2021-12-25 20:29:29 +00:00
id 'org.jetbrains.kotlin.plugin.serialization' version '1.5.30'
2021-05-09 17:23:52 +00:00
}
android {
2021-12-25 20:29:29 +00:00
compileSdkVersion 31
2021-05-10 06:14:46 +00:00
buildToolsVersion "30.0.3"
2021-05-09 17:23:52 +00:00
defaultConfig {
minSdkVersion 21
2021-12-25 20:29:29 +00:00
targetSdkVersion 31
2021-05-09 17:23:52 +00:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
2022-07-10 14:41:29 +00:00
// minifyEnabled false
2021-05-09 17:23:52 +00:00
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
2022-07-10 14:41:29 +00:00
2021-05-09 17:23:52 +00:00
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
2022-07-10 14:41:29 +00:00
2021-05-09 17:23:52 +00:00
kotlinOptions {
jvmTarget = '1.8'
}
}
dependencies {
2022-07-10 14:41:29 +00:00
implementation 'androidx.core:core-ktx:1.8.0'
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'com.google.android.material:material:1.6.1'
2021-12-25 20:29:29 +00:00
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
2021-05-09 17:23:52 +00:00
2022-07-10 14:41:29 +00:00
implementation("io.ktor:ktor-client-content-negotiation:$ktor_version")
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktor_version")
implementation("io.ktor:ktor-client-logging:$ktor_version")
2021-05-09 17:23:52 +00:00
implementation "io.ktor:ktor-client-core:$ktor_version"
2021-05-09 18:29:52 +00:00
implementation "io.ktor:ktor-client-android:$ktor_version"
2022-07-10 14:41:29 +00:00
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2021-05-09 17:23:52 +00:00
}