57 lines
No EOL
1.7 KiB
Groovy
57 lines
No EOL
1.7 KiB
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'org.jetbrains.kotlin.android'
|
|
}
|
|
|
|
android {
|
|
compileSdk 31
|
|
|
|
defaultConfig {
|
|
minSdk 21
|
|
targetSdk 31
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
buildConfig = false
|
|
}
|
|
packagingOptions {
|
|
exclude 'META-INF/LGPL2.1'
|
|
exclude 'META-INF/AL2.0'
|
|
exclude 'META-INF/LICENSE.md'
|
|
exclude 'META-INF/LICENSE-notice.md'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version"
|
|
|
|
implementation "androidx.test:core:$androidx_test_version"
|
|
implementation "androidx.test.espresso:espresso-core:$espresso_version"
|
|
implementation "androidx.test.espresso:espresso-intents:$espresso_version"
|
|
|
|
implementation "com.squareup.okhttp3:okhttp:$okhttp_version"
|
|
|
|
implementation "com.google.android.material:material:$androidx_material_version"
|
|
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$androidx_swiperefreshlayout_version"
|
|
implementation "androidx.core:core-ktx:$androidx_core_version"
|
|
implementation "androidx.test.uiautomator:uiautomator:$ui_animator_version"
|
|
}
|
|
|
|
ext.artifactId = "android"
|
|
apply from: "../gradlescripts/deploy.aar.gradle" |