mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-29 14:08:53 +00:00
Stub module always use release build
This commit is contained in:
@@ -19,7 +19,7 @@ buildscript {
|
||||
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:4.1.1")
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.20")
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21")
|
||||
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${vNav}")
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
@@ -27,7 +27,7 @@ buildscript {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("clean",Delete::class){
|
||||
tasks.register("clean", Delete::class) {
|
||||
delete(rootProject.buildDir)
|
||||
}
|
||||
|
||||
@@ -110,12 +110,12 @@ subprojects {
|
||||
buildTypes {
|
||||
signingConfigs.getByName("config").also {
|
||||
getByName("debug") {
|
||||
// If keystore exists, sign the APK with custom signature
|
||||
if (it.storeFile?.exists() == true)
|
||||
signingConfig = it
|
||||
signingConfig = if (it.storeFile?.exists() == true) it
|
||||
else signingConfigs.getByName("debug")
|
||||
}
|
||||
getByName("release") {
|
||||
signingConfig = it
|
||||
signingConfig = if (it.storeFile?.exists() == true) it
|
||||
else signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user