mirror of
https://github.com/Tencent/QMUI_Android.git
synced 2026-10-17 04:31:16 +08:00
52 lines
1006 B
Kotlin
52 lines
1006 B
Kotlin
|
|
import com.qmuiteam.plugin.Dep
|
|
|
|
plugins {
|
|
id("com.android.library")
|
|
kotlin("android")
|
|
`maven-publish`
|
|
signing
|
|
id("qmui-publish")
|
|
}
|
|
|
|
version = Dep.QMUI.composeCoreVer
|
|
|
|
android {
|
|
compileSdk = Dep.compileSdk
|
|
|
|
buildFeatures {
|
|
compose = true
|
|
}
|
|
|
|
defaultConfig {
|
|
minSdk = Dep.minSdk
|
|
targetSdk = Dep.targetSdk
|
|
}
|
|
|
|
buildTypes {
|
|
getByName("release"){
|
|
isMinifyEnabled = false
|
|
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = Dep.javaVersion
|
|
targetCompatibility = Dep.javaVersion
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = Dep.kotlinJvmTarget
|
|
}
|
|
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion = Dep.Compose.version
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
api(Dep.AndroidX.appcompat)
|
|
api(Dep.Compose.ui)
|
|
api(Dep.Compose.animation)
|
|
api(Dep.Compose.material)
|
|
api(Dep.Compose.compiler)
|
|
} |