mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-23 10:05:23 +00:00
Fix release build
This commit is contained in:
parent
0b987dd0b0
commit
3921e9cb1b
@ -13,7 +13,6 @@
|
||||
|
||||
<application
|
||||
android:name=".core.App"
|
||||
android:extractNativeLibs="true"
|
||||
android:icon="@drawable/ic_launcher"
|
||||
android:multiArch="true"
|
||||
tools:ignore="UnusedAttribute,GoogleAppIndexingWarning"
|
||||
|
@ -17,8 +17,8 @@ gradlePlugin {
|
||||
|
||||
dependencies {
|
||||
implementation(kotlin("gradle-plugin", "1.8.10"))
|
||||
implementation("com.android.tools.build:gradle:8.1.0-alpha10")
|
||||
implementation("com.android.tools.build:gradle:8.1.0-alpha11")
|
||||
implementation("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3")
|
||||
implementation("org.lsposed.lsparanoid:gradle-plugin:0.5.0")
|
||||
implementation("org.lsposed.lsparanoid:gradle-plugin:0.5.2")
|
||||
implementation("org.eclipse.jgit:org.eclipse.jgit:6.4.0.202211300538-r")
|
||||
}
|
||||
|
@ -388,8 +388,8 @@ fun Project.setupStub() {
|
||||
"release/out/resources-release.ap_")
|
||||
val optRes = File(buildDir, "intermediates/optimized_processed_res/" +
|
||||
"release/resources-release-optimize.ap_")
|
||||
tasks.whenTaskAdded {
|
||||
if (name == "optimizeReleaseResources") {
|
||||
afterEvaluate {
|
||||
tasks.named("optimizeReleaseResources") {
|
||||
doLast { apk.copyTo(optRes, true) }
|
||||
}
|
||||
}
|
||||
|
@ -22,7 +22,6 @@ org.gradle.caching=true
|
||||
|
||||
# Android
|
||||
android.useAndroidX=true
|
||||
android.databinding.incremental=true
|
||||
android.injected.testOnly=false
|
||||
android.nonTransitiveRClass=true
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user