Files
unmeta-gradle-plugin/example/build.gradle.kts
2023-04-29 12:03:49 +08:00

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)
}