54 lines
1.4 KiB
Groovy
54 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
|
|
|
|
javaCompileOptions {
|
|
annotationProcessorOptions {
|
|
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
|
|
}
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
}
|
|
debug {
|
|
minifyEnabled false
|
|
}
|
|
android {
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '17'
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = versions.compose_compiler_version
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.compose.ui:ui:${versions.compose_version}")
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin_version}"
|
|
implementation "joda-time:joda-time:${versions.joda_time}"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.kotlin_coroutines_version}"
|
|
|
|
implementation "androidx.room:room-runtime:${versions.room_version}"
|
|
implementation "androidx.room:room-ktx:${versions.room_version}"
|
|
ksp "androidx.room:room-compiler:${versions.room_version}"
|
|
} |