44 lines
982 B
Groovy
44 lines
982 B
Groovy
apply plugin: "com.android.library"
|
|
apply plugin: "kotlin-android"
|
|
|
|
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_16
|
|
}
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion versions.compile
|
|
|
|
defaultConfig {
|
|
minSdkVersion versions.mini
|
|
targetSdkVersion versions.target
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_16
|
|
targetCompatibility JavaVersion.VERSION_16
|
|
}
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation "junit:junit:${junitVer}"
|
|
implementation "androidx.appcompat:appcompat:1.4.0"
|
|
api project(":common")
|
|
}
|