47 lines
861 B
Text
47 lines
861 B
Text
|
plugins {
|
||
|
id("com.android.library")
|
||
|
kotlin("android")
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
namespace = "it.vfsfitvnm.compose.persist"
|
||
|
compileSdk = 33
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdk = 21
|
||
|
targetSdk = 33
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
isMinifyEnabled = true
|
||
|
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
|
||
|
}
|
||
|
}
|
||
|
|
||
|
sourceSets.all {
|
||
|
kotlin.srcDir("src/$name/kotlin")
|
||
|
}
|
||
|
|
||
|
buildFeatures {
|
||
|
compose = true
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
||
|
targetCompatibility = JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
|
||
|
composeOptions {
|
||
|
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
||
|
}
|
||
|
|
||
|
kotlinOptions {
|
||
|
jvmTarget = "1.8"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(libs.compose.foundation)
|
||
|
}
|