36 lines
765 B
Groovy
36 lines
765 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion versions.compileSdk
|
|
|
|
defaultConfig {
|
|
minSdkVersion 16
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "androidx.core:core"
|
|
implementation "androidx.annotation:annotation"
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7"
|
|
|
|
constraints {
|
|
implementation("androidx.core:core") {
|
|
version {
|
|
require '1.0.0'
|
|
}
|
|
}
|
|
|
|
implementation("androidx.annotation:annotation") {
|
|
version {
|
|
require '1.1.0'
|
|
}
|
|
}
|
|
}
|
|
}
|