mirror of
https://github.com/fankes/unmeta-gradle-plugin.git
synced 2025-09-04 01:55:16 +08:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
plugins {
|
|
id("com.android.application")
|
|
id("com.axzae.unmeta")
|
|
}
|
|
|
|
android {
|
|
compileSdk = libs.versions.compileSdkVersion.get().toInt()
|
|
defaultConfig {
|
|
namespace = "com.axzae.unmeta.example"
|
|
applicationId = "com.axzae.unmeta.example"
|
|
minSdk = libs.versions.minSdkVersion.get().toInt()
|
|
targetSdk = libs.versions.targetSdkVersion.get().toInt()
|
|
versionCode = 1
|
|
versionName = "1.0"
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
buildTypes {
|
|
getByName("release") {
|
|
isMinifyEnabled = false
|
|
isDebuggable = false
|
|
}
|
|
getByName("debug") {
|
|
isDebuggable = true
|
|
applicationIdSuffix = ".debug"
|
|
versionNameSuffix = "-debug"
|
|
}
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.appcompat)
|
|
implementation(libs.kotlinStdlib)
|
|
}
|
|
|
|
unmeta {
|
|
isEnabled.set(true)
|
|
verbose.set(true)
|
|
}
|