mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-07 19:14:04 +08:00
Update compose to 2023.08.00
This commit is contained in:
61
demo/build.gradle.kts
Normal file
61
demo/build.gradle.kts
Normal file
@@ -0,0 +1,61 @@
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin)
|
||||
id("convention.jvm.toolchain")
|
||||
}
|
||||
|
||||
android {
|
||||
namespace = "eu.wewox.pagecurl"
|
||||
|
||||
compileSdk = libs.versions.sdk.compile.get().toInt()
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "eu.wewox.pagecurl"
|
||||
|
||||
minSdk = libs.versions.sdk.min.get().toInt()
|
||||
targetSdk = libs.versions.sdk.target.get().toInt()
|
||||
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
|
||||
vectorDrawables {
|
||||
useSupportLibrary = true
|
||||
}
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
}
|
||||
}
|
||||
buildFeatures {
|
||||
compose = true
|
||||
}
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
|
||||
}
|
||||
kotlinOptions {
|
||||
freeCompilerArgs = freeCompilerArgs +
|
||||
"-opt-in=androidx.compose.material3.ExperimentalMaterial3Api"
|
||||
}
|
||||
packaging {
|
||||
resources {
|
||||
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(project(":pagecurl"))
|
||||
|
||||
implementation(platform(libs.compose.bom))
|
||||
implementation(libs.compose.material3)
|
||||
implementation(libs.compose.ui)
|
||||
implementation(libs.androidx.activitycompose)
|
||||
implementation(libs.androidx.pagingruntime)
|
||||
implementation(libs.androidx.pagingcompose)
|
||||
}
|
Reference in New Issue
Block a user