mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-24 02:25:28 +00:00
29 lines
714 B
Plaintext
29 lines
714 B
Plaintext
|
plugins {
|
||
|
id("com.android.application")
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
defaultConfig {
|
||
|
applicationId = "com.topjohnwu.magisk"
|
||
|
versionCode = 1
|
||
|
versionName = Config["appVersion"]
|
||
|
buildConfigField("String", "DEV_CHANNEL", Config["DEV_CHANNEL"] ?: "null")
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
getByName("release") {
|
||
|
isMinifyEnabled = true
|
||
|
isShrinkResources = true
|
||
|
proguardFiles(
|
||
|
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||
|
"proguard-rules.pro"
|
||
|
)
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation(fileTree(mapOf("dir" to "libs", "include" to listOf("*.jar"))))
|
||
|
implementation(project(":app:shared"))
|
||
|
}
|