40 lines
1.3 KiB
Groovy
40 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-kapt'
|
|
apply plugin: 'kotlin-allopen'
|
|
apply plugin: 'com.hiya.jacoco-android'
|
|
apply plugin: 'kotlinx-serialization'
|
|
|
|
apply from: "${project.rootDir}/gradle/android_dependencies.gradle"
|
|
apply from: "${project.rootDir}/gradle/android_module_dependencies.gradle"
|
|
apply from: "${project.rootDir}/gradle/test_dependencies.gradle"
|
|
apply from: "${project.rootDir}/gradle/jacoco_global.gradle"
|
|
|
|
android {
|
|
defaultConfig {
|
|
minSdkVersion 23 // for wear
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api "androidx.preference:preference-ktx:$preferencektx_version"
|
|
|
|
// for old fashioned support-app version (wear)
|
|
api "com.google.dagger:dagger:$dagger_version"
|
|
api "com.google.dagger:dagger-android:$dagger_version"
|
|
api "com.google.dagger:dagger-android-support:$dagger_version"
|
|
|
|
//Logger
|
|
api 'org.slf4j:slf4j-api:1.7.36'
|
|
api("com.github.tony19:logback-android-classic:1.1.1-6") {
|
|
exclude group: "com.google.android", module: "android"
|
|
}
|
|
|
|
api "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
|
|
api "org.apache.commons:commons-lang3:$commonslang3_version"
|
|
|
|
//RxBus
|
|
api "io.reactivex.rxjava3:rxjava:$rxjava_version"
|
|
api "io.reactivex.rxjava3:rxkotlin:$rxkotlin_version"
|
|
api "io.reactivex.rxjava3:rxandroid:$rxandroid_version"
|
|
} |