ViMusic/compose-routing/build.gradle.kts

48 lines
942 B
Text
Raw Normal View History

2022-06-02 16:59:18 +00:00
plugins {
id("com.android.library")
kotlin("android")
}
android {
namespace = "it.vfsfitvnm.route"
compileSdk = 32
defaultConfig {
minSdk = 21
targetSdk = 32
}
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 {
2022-06-30 22:01:06 +00:00
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
2022-06-02 16:59:18 +00:00
}
kotlinOptions {
freeCompilerArgs += "-Xcontext-receivers"
jvmTarget = "1.8"
}
}
dependencies {
implementation(libs.compose.activity)
implementation(libs.compose.foundation)
}