update reproducible-apk-tool usage

This commit is contained in:
linsui 2024-05-29 13:47:01 +08:00
parent c3ca5c50d2
commit cd9a5a4458
2 changed files with 4 additions and 8 deletions

View file

@ -272,10 +272,8 @@ Builds:
- yes
srclibs:
- reproducible-apk-tools@v0.2.6
prebuild: echo -e '\ntasks.register<Exec>("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

View file

@ -142,10 +142,8 @@ Builds:
- yes
srclibs:
- reproducible-apk-tools@v0.2.6
prebuild: echo -e '\ntasks.register<Exec>("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