50 lines
1.4 KiB
Groovy
50 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'com.google.devtools.ksp'
|
|
|
|
android {
|
|
namespace "com.github.k1rakishou.chan"
|
|
|
|
compileSdk 34
|
|
|
|
defaultConfig {
|
|
minSdkVersion 21
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
}
|
|
debug {
|
|
minifyEnabled false
|
|
}
|
|
android {
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation project(':core-common')
|
|
implementation project(':core-logger')
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin_version}"
|
|
implementation "androidx.core:core-ktx:${versions.core_ktx}"
|
|
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
|
|
implementation "com.google.android.material:material:${versions.material}"
|
|
implementation "io.reactivex.rxjava2:rxjava:${versions.rxjava}"
|
|
implementation "io.reactivex.rxjava2:rxandroid:${versions.rxandroid}"
|
|
implementation "com.google.code.gson:gson:${versions.gson}"
|
|
|
|
implementation("com.squareup.moshi:moshi-kotlin:${versions.moshi}")
|
|
ksp("com.squareup.moshi:moshi-kotlin-codegen:${versions.moshi}")
|
|
|
|
implementation "com.google.dagger:dagger:${versions.dagger_version}"
|
|
ksp("com.google.dagger:dagger-compiler:${versions.dagger_version}")
|
|
} |