plugins { alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.androidLibrary) id("com.google.devtools.ksp") id("kotlin-parcelize") kotlin("plugin.serialization") version "1.9.24" } repositories { mavenCentral() google() } kotlin { applyDefaultHierarchyTemplate() androidTarget { publishLibraryVariants("release") compilations.all { kotlinOptions { jvmTarget = "17" } } } sourceSets { val commonMain by getting { dependencies { implementation(libs.androidx.room) implementation(libs.kotlinx.serialization) implementation(libs.kermit) } } } } 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 } } dependencies { add("kspAndroid", libs.androidx.room.compiler) }