Compare commits

..

5 Commits

Author SHA1 Message Date
Dennis Guse df0d3ce600 Release: v4.17.4 2024-12-27 09:58:58 +01:00
Dennis Guse c05cbc2fa6 Reproducible build: remove dependenciesInfo.
Part of #418.
2024-12-27 09:58:13 +01:00
Dennis Guse 2f07208d9d Release: v4.17.3 2024-12-25 23:31:22 +01:00
Dennis Guse ded98eddb5 Reproducible build: use a proper file name for the apk (again).
Part of #418.
2024-12-25 23:30:06 +01:00
Dennis Guse 45732735d4 Reproducible build: use a proper file name for the apk.
Part of #418.
2024-12-25 19:56:54 +01:00
4 changed files with 33 additions and 8 deletions
+15 -7
View File
@@ -64,8 +64,8 @@ android {
defaultConfig {
applicationId 'de.dennisguse.opentracks'
versionCode 5980
versionName "v4.17.2"
versionCode 5985
versionName "v4.17.4"
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
@@ -104,7 +104,7 @@ android {
productFlavors {
nightly {
dimension 'version'
applicationIdSuffix '.nightly'
applicationId 'de.dennisguse.opentracks.nightly'
signingConfig signingConfigs.nightly
}
irreproducible {
@@ -126,18 +126,26 @@ android {
variant.resValue 'string', 'applicationId', variant.applicationId
variant.outputs.configureEach {
if (variant.buildType.name == 'reproducible') {
outputFileName = '${applicationId}_${variant.buildType.name}_${variant.versionName}.apk'
if (variant.flavorName == 'reproducible') {
outputFileName = "${applicationId}_${variant.versionName}.apk"
} else {
outputFileName = '${applicationId}_${variant.buildType.name}_${variant.versionCode}.apk'
outputFileName = "${applicationId}_${variant.versionCode}.apk"
}
if (variant.buildType.name == 'nightly') {
if (variant.flavorName== 'nightly') {
setVersionCodeOverride(getVersionCode())
setVersionNameOverride(getVersionName())
}
}
}
dependenciesInfo {
// Disables dependency metadata when building APKs.
includeInApk = false
// Disables dependency metadata when building Android App Bundles.
includeInBundle = false
}
}
dependencies {
@@ -0,0 +1,9 @@
v4.17.3: OpenTracks
Changes:
- Reproducible build: let's see if it works.
Developer:
- Just trying to get the APK filename, right...
@@ -0,0 +1,8 @@
v4.17.4: OpenTracks
Changes:
- Reproducible build: let's see if it works.
Developer:
- Removing DependencyInfo.
+1 -1
View File
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME