mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
2 months ago
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("android")
|
||
|
id("com.google.devtools.ksp")
|
||
|
id("kotlin-parcelize")
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
google()
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "org.tasks.data"
|
||
|
compileSdk = 34
|
||
|
|
||
|
buildFeatures {
|
||
|
buildConfig = true
|
||
|
}
|
||
|
defaultConfig {
|
||
|
minSdk = 24
|
||
|
|
||
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||
|
consumerProguardFiles("consumer-rules.pro")
|
||
|
|
||
|
ksp {
|
||
|
arg("room.schemaLocation", "$projectDir/schemas")
|
||
|
arg("room.incremental", "true")
|
||
|
arg("room.generateKotlin", "true")
|
||
|
}
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
isMinifyEnabled = false
|
||
|
proguardFiles(
|
||
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||
|
"proguard-rules.pro"
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility = JavaVersion.VERSION_17
|
||
|
targetCompatibility = JavaVersion.VERSION_17
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "17"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(libs.androidx.core)
|
||
|
implementation(libs.androidx.lifecycle.livedata)
|
||
|
implementation(libs.androidx.room)
|
||
|
implementation(libs.gson)
|
||
|
implementation(libs.timber)
|
||
|
ksp(libs.androidx.room.compiler)
|
||
|
}
|