mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-04 01:35:36 +08:00
45 lines
1.0 KiB
Groovy
45 lines
1.0 KiB
Groovy
plugins {
|
|
id "com.android.library"
|
|
id "org.jetbrains.kotlin.android"
|
|
id "com.vanniktech.maven.publish"
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
|
|
defaultConfig {
|
|
minSdk 24
|
|
targetSdk 32
|
|
|
|
consumerProguardFiles "consumer-rules.pro"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_compiler_version
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
freeCompilerArgs = freeCompilerArgs +
|
|
"-Xexplicit-api=strict" +
|
|
"-Xopt-in=kotlin.RequiresOptIn"
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation("androidx.compose.ui:ui:$compose_version")
|
|
implementation("androidx.compose.foundation:foundation:$compose_version")
|
|
}
|