44 lines
966 B
Groovy
44 lines
966 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:4.13.2'
|
|
api 'androidx.appcompat:appcompat:1.4.0'
|
|
api project(':common')
|
|
}
|