33 lines
888 B
Groovy
33 lines
888 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-android-extensions'
|
|
|
|
android {
|
|
|
|
compileSdkVersion configs.android.compileSdkVersion
|
|
buildToolsVersion configs.android.buildToolsVersion
|
|
|
|
compileOptions {
|
|
sourceCompatibility configs.compile.sourceCompatibility
|
|
targetCompatibility configs.compile.targetCompatibility
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdkVersion configs.android.minSdkVersion
|
|
targetSdkVersion configs.android.targetSdkVersion
|
|
versionCode 1
|
|
versionName "1.0"
|
|
}
|
|
|
|
androidExtensions {
|
|
experimental = true
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation component(':library')
|
|
}
|