mirror of
https://github.com/status-im/status-react.git
synced 2025-02-19 22:28:40 +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 {
|
buildTypes {
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
debuggable true
|
debuggable true
|
||||||
versionNameSuffix "-SNAPSHOT"
|
versionNameSuffix "-SNAPSHOT"
|
||||||
resValue "string", "build_config_package", "im.status.ethereum"
|
resValue "string", "build_config_package", "im.status.ethereum"
|
||||||
}
|
}
|
||||||
release {
|
release {
|
||||||
@ -216,8 +216,8 @@ android {
|
|||||||
pr {
|
pr {
|
||||||
initWith release
|
initWith release
|
||||||
applicationIdSuffix ".pr"
|
applicationIdSuffix ".pr"
|
||||||
versionNameSuffix ".pr"
|
versionNameSuffix ".pr"
|
||||||
debuggable true
|
debuggable true
|
||||||
matchingFallbacks = ["release"]
|
matchingFallbacks = ["release"]
|
||||||
// necessary to make react-native-config's code generation work
|
// necessary to make react-native-config's code generation work
|
||||||
resValue "string", "build_config_package", "im.status.ethereum"
|
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 {
|
sourceSets {
|
||||||
main { jniLibs.srcDirs 'libs' }
|
main { jniLibs.srcDirs 'libs' }
|
||||||
main.assets.srcDirs += '../../resources/mapview'
|
main.assets.srcDirs += '../../resources/mapview'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user