2021-09-18 23:37:52 +02:00
|
|
|
plugins {
|
|
|
|
|
id("com.android.library")
|
|
|
|
|
id("kotlin-android")
|
2023-08-06 15:25:33 +02:00
|
|
|
id("com.google.devtools.ksp")
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
android {
|
|
|
|
|
compileSdk = sdk.versions.compileSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
|
minSdk = sdk.versions.minSdk.get().toInt()
|
|
|
|
|
targetSdk = sdk.versions.targetSdk.get().toInt()
|
|
|
|
|
|
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
|
|
|
|
|
|
javaCompileOptions {
|
|
|
|
|
annotationProcessorOptions {
|
2022-06-21 18:37:38 +02:00
|
|
|
arguments["room.schemaLocation"] = "$projectDir/schemas"
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
|
release {
|
|
|
|
|
proguardFiles(
|
|
|
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
|
|
|
"proguard-rules.pro"
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
|
}
|
2022-05-09 19:56:05 +02:00
|
|
|
namespace = "de.mm20.launcher2.database"
|
2021-09-18 23:37:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
|
|
|
|
|
implementation(libs.kotlin.stdlib)
|
|
|
|
|
implementation(libs.androidx.core)
|
|
|
|
|
implementation(libs.androidx.appcompat)
|
|
|
|
|
api(libs.androidx.roomruntime)
|
2023-08-06 15:25:33 +02:00
|
|
|
ksp(libs.androidx.roomcompiler)
|
2023-02-27 22:36:46 +01:00
|
|
|
api(libs.androidx.room)
|
2021-12-19 19:14:21 +01:00
|
|
|
implementation(libs.koin.android)
|
2021-09-18 23:37:52 +02:00
|
|
|
|
2022-12-13 17:37:26 +01:00
|
|
|
implementation(project(":core:i18n"))
|
|
|
|
|
implementation(project(":core:ktx"))
|
2021-09-18 23:37:52 +02:00
|
|
|
|
|
|
|
|
}
|