mirror of
https://github.com/T8RIN/ImageToolbox.git
synced 2025-08-26 10:02:13 +08:00
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
plugins {
|
|
id("com.android.library")
|
|
id("org.jetbrains.kotlin.android")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.t8rin.modalsheet"
|
|
compileSdk = 33
|
|
|
|
defaultConfig {
|
|
minSdk = 21
|
|
targetSdk = 33
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
proguardFiles(
|
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
|
"proguard-rules.pro"
|
|
)
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
|
}
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = "1.4.7"
|
|
}
|
|
|
|
packaging {
|
|
resources {
|
|
excludes += "/META-INF/{AL2.0,LGPL2.1}"
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(platform("androidx.compose:compose-bom:2023.05.00"))
|
|
implementation("androidx.compose.ui:ui")
|
|
implementation("androidx.compose.foundation:foundation")
|
|
implementation("androidx.compose.material3:material3:1.1.0")
|
|
implementation("androidx.compose.material:material")
|
|
implementation("androidx.compose.ui:ui-util")
|
|
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.1")
|
|
implementation("androidx.lifecycle:lifecycle-viewmodel:2.6.1")
|
|
}
|