38 lines
960 B
Groovy
38 lines
960 B
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
|
|
android {
|
|
compileSdkVersion 33
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
defaultConfig {
|
|
minSdkVersion 26
|
|
targetSdkVersion 33
|
|
versionCode 2
|
|
versionName "2.0.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'androidx.core:core:1.3.0'
|
|
implementation 'androidx.core:core-ktx:1.3.0'
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.0.1"
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|