mirror of
https://github.com/fankes/pagecurl-multiplatform.git
synced 2025-09-05 18:25:20 +08:00
61 lines
1.7 KiB
Groovy
61 lines
1.7 KiB
Groovy
plugins {
|
|
id "com.android.application"
|
|
id "org.jetbrains.kotlin.android"
|
|
}
|
|
|
|
android {
|
|
compileSdk compile_sdk_version
|
|
|
|
defaultConfig {
|
|
applicationId "eu.wewox.pagecurl"
|
|
minSdk min_sdk_version
|
|
targetSdk target_sdk_version
|
|
versionCode 1
|
|
versionName "1.0"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = "1.8"
|
|
freeCompilerArgs = freeCompilerArgs +
|
|
"-Xopt-in=kotlin.RequiresOptIn"
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_compiler_version
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":pagecurl"))
|
|
|
|
implementation(platform("androidx.compose:compose-bom:$compose_bom_version"))
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.material:material")
|
|
implementation("androidx.activity:activity-compose:$activity_version")
|
|
implementation("com.google.accompanist:accompanist-systemuicontroller:$accompanist_version")
|
|
implementation("androidx.paging:paging-runtime:$paging_version")
|
|
implementation("androidx.paging:paging-compose:$paging_compose_version")
|
|
}
|