Compare commits

...

3 Commits

Author SHA1 Message Date
Dennis Guse a03825e10e Release: v4.17.1 2024-12-24 15:04:02 +01:00
Dennis Guse e230fb42b8 Reproducible build: prepare using the PlayStore key for reproducible builds.
Part of #418.
2024-12-24 15:01:23 +01:00
dependabot[bot] 82c0f3dcc5 Bump com.android.tools:desugar_jdk_libs from 2.1.3 to 2.1.4
Bumps [com.android.tools:desugar_jdk_libs](https://github.com/google/desugar_jdk_libs) from 2.1.3 to 2.1.4.
- [Changelog](https://github.com/google/desugar_jdk_libs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/desugar_jdk_libs/commits)

---
updated-dependencies:
- dependency-name: com.android.tools:desugar_jdk_libs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 07:42:01 +01:00
2 changed files with 26 additions and 10 deletions
+21 -10
View File
@@ -64,8 +64,8 @@ android {
defaultConfig {
applicationId "de.dennisguse.opentracks"
versionCode 5975
versionName "v4.17.0"
versionCode 5978
versionName "v4.17.1"
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
@@ -95,37 +95,48 @@ android {
}
nightly {
signingConfig signingConfigs.nightly
applicationIdSuffix ".nightly"
signingConfig signingConfigs.nightly
}
release {
// Non-reproducible: https://f-droid.org/de/packages/de.dennisguse.opentracks/
crunchPngs false
minifyEnabled false
versionNameSuffix "irreproducible"
}
releasePlayStore {
reproducible {
// Developer Binaries: https://github.com/OpenTracksApp/OSMDashboard/releases/download/v%v/de.dennisguse.opentracks.playstore_%v.apk
// FDroid: https://f-droid.org/de/packages/de.dennisguse.opentracks.playstore
// PlayStore: https://play.google.com/store/apps/details?id=de.dennisguse.opentracks.playstore
applicationIdSuffix ".playstore"
versionNameSuffix "-PlayStore"
signingConfig signingConfigs.debug
crunchPngs false
minifyEnabled false
}
}
applicationVariants.configureEach { variant ->
variant.resValue "string", "applicationId", variant.applicationId
if (variant.buildType.name == 'nightly') {
variant.outputs.configureEach {
variant.outputs.configureEach {
if (variant.buildType.name == 'reproducible') {
outputFileName = "${applicationId}_${variant.buildType.name}_${variant.versionName}.apk"
} else {
outputFileName = "${applicationId}_${variant.buildType.name}_${variant.versionCode}.apk"
}
if (variant.buildType.name == 'nightly') {
setVersionCodeOverride(getVersionCode())
setVersionNameOverride(getVersionName())
outputFileName = "${applicationId}_${variant.versionCode}.apk"
}
}
}
}
dependencies {
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.3'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
implementation 'androidx.appcompat:appcompat:1.7.0'
implementation 'androidx.preference:preference:1.2.1'
@@ -0,0 +1,5 @@
v4.17.1: OpenTracks
Changes:
- Reproducible build: let's see if it works.
The PlayStore variant will be submitted to F-Droid, verified and published them.