From cd9a5a4458adc9a6a53ee10db04f5b7d7c844ec9 Mon Sep 17 00:00:00 2001 From: linsui Date: Wed, 29 May 2024 13:47:01 +0800 Subject: [PATCH] update reproducible-apk-tool usage --- metadata/com.elasticrock.keepscreenon.yml | 6 ++---- metadata/io.github.yamin8000.dooz.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/metadata/com.elasticrock.keepscreenon.yml b/metadata/com.elasticrock.keepscreenon.yml index d8ac7d7254..eeb005e5fc 100644 --- a/metadata/com.elasticrock.keepscreenon.yml +++ b/metadata/com.elasticrock.keepscreenon.yml @@ -272,10 +272,8 @@ Builds: - yes srclibs: - reproducible-apk-tools@v0.2.6 - prebuild: echo -e '\ntasks.register("crlf") { executable("bash"); args("-c", - "$$reproducible-apk-tools$$/inplace-fix.py --zipalign fix-newlines build/intermediates/merged_java_res/release/minifyReleaseWithR8/base.jar - META-INF/services/*"); workingDir(project.projectDir) }\ntasks.configureEach - { if (name == "minifyReleaseWithR8") { finalizedBy("crlf") } }' >> build.gradle.kts + postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines + $$OUT$$ 'META-INF/services/*' AllowedAPKSigningKeys: bb9503be1486028133b33eabce9732100e9a331065e32fa2a033a93498bae6d6 diff --git a/metadata/io.github.yamin8000.dooz.yml b/metadata/io.github.yamin8000.dooz.yml index 448b83f6d9..f1cb9df966 100644 --- a/metadata/io.github.yamin8000.dooz.yml +++ b/metadata/io.github.yamin8000.dooz.yml @@ -142,10 +142,8 @@ Builds: - yes srclibs: - reproducible-apk-tools@v0.2.6 - prebuild: echo -e '\ntasks.register("crlf") { executable("bash"); args("-c", - "$$reproducible-apk-tools$$/inplace-fix.py --zipalign fix-newlines build/intermediates/merged_java_res/release/minifyReleaseWithR8/base.jar - META-INF/services/*"); workingDir(project.projectDir) }\ntasks.configureEach - { if (name == "minifyReleaseWithR8") { finalizedBy("crlf") } }' >> build.gradle.kts + postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines + $$OUT$$ 'META-INF/services/*' AllowedAPKSigningKeys: c5fc36a2d18057155a471f456216f0b1f07755f33147f938c92ea6275dced4d2