mirror of
https://github.com/status-im/status-react.git
synced 2025-02-16 21:07:21 +00:00
Disable PNG optimization on Android builds, for reproducibility
Signed-off-by: Pedro Pombeiro <pombeirp@users.noreply.github.com>
This commit is contained in:
parent
0f44a46f1f
commit
c59f372ef3
@ -204,8 +204,8 @@ android {
|
||||
buildTypes {
|
||||
debug {
|
||||
applicationIdSuffix ".debug"
|
||||
debuggable true
|
||||
versionNameSuffix "-SNAPSHOT"
|
||||
debuggable true
|
||||
versionNameSuffix "-SNAPSHOT"
|
||||
resValue "string", "build_config_package", "im.status.ethereum"
|
||||
}
|
||||
release {
|
||||
@ -216,8 +216,8 @@ android {
|
||||
pr {
|
||||
initWith release
|
||||
applicationIdSuffix ".pr"
|
||||
versionNameSuffix ".pr"
|
||||
debuggable true
|
||||
versionNameSuffix ".pr"
|
||||
debuggable true
|
||||
matchingFallbacks = ["release"]
|
||||
// necessary to make react-native-config's code generation work
|
||||
resValue "string", "build_config_package", "im.status.ethereum"
|
||||
@ -237,6 +237,11 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
aaptOptions {
|
||||
// disable PNG optimization as for some reason it cannot be trusted to provide deterministic output (see https://f-droid.org/en/docs/Reproducible_Builds/)
|
||||
cruncherEnabled = false
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main { jniLibs.srcDirs 'libs' }
|
||||
main.assets.srcDirs += '../../resources/mapview'
|
||||
|
Loading…
x
Reference in New Issue
Block a user