Android_ulsService/uikit/build.gradle

43 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2023-10-23 13:22:56 +08:00
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.uikit'
compileSdk buildsdk.versions.compilesdk.get().toInteger()
defaultConfig {
minSdk buildsdk.versions.minisdk.get().toInteger()
targetSdk buildsdk.versions.targetsdk.get().toInteger()
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
2023-11-16 09:47:43 +08:00
kotlin {
jvmToolchain(17)
2023-10-23 13:22:56 +08:00
}
2023-11-16 09:47:43 +08:00
2023-10-23 13:22:56 +08:00
}
dependencies {
2023-11-14 15:58:52 +08:00
api project(":util")
2023-10-25 13:38:25 +08:00
api androidxLibs.bundles.androidx
api googleLibs.material
2023-10-23 13:22:56 +08:00
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}