2019-12-13 04:58:43 -08:00
|
|
|
import cash.z.ecc.android.Deps
|
|
|
|
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
apply plugin: 'kotlin-android'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion Deps.compileSdkVersion
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
minSdkVersion Deps.minSdkVersion
|
|
|
|
targetSdkVersion Deps.targetSdkVersion
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
consumerProguardFiles 'consumer-rules.pro'
|
|
|
|
}
|
2023-06-09 06:20:02 -07:00
|
|
|
def javaVersion = JavaVersion.toVersion(project.property("ANDROID_JVM_TARGET"))
|
2021-05-12 11:56:28 -07:00
|
|
|
compileOptions {
|
2023-06-09 06:20:02 -07:00
|
|
|
sourceCompatibility javaVersion
|
|
|
|
targetCompatibility javaVersion
|
2021-05-12 11:56:28 -07:00
|
|
|
}
|
|
|
|
kotlinOptions {
|
2023-06-09 06:20:02 -07:00
|
|
|
jvmTarget = javaVersion.toString()
|
|
|
|
freeCompilerArgs += "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
|
2021-05-12 11:56:28 -07:00
|
|
|
}
|
2019-12-13 04:58:43 -08:00
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2022-09-20 04:25:57 -07:00
|
|
|
namespace 'cash.z.ecc.android.feedback'
|
2019-12-13 04:58:43 -08:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation Deps.Kotlin.STDLIB
|
|
|
|
implementation Deps.AndroidX.APPCOMPAT
|
|
|
|
implementation Deps.AndroidX.CORE_KTX
|
|
|
|
implementation Deps.Kotlin.Coroutines.CORE
|
|
|
|
implementation Deps.Kotlin.Coroutines.TEST
|
|
|
|
testImplementation Deps.Test.JUNIT
|
|
|
|
}
|