forked from upstream-mirrors/OpenTracks
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a03825e10e | |||
| e230fb42b8 | |||
| 82c0f3dcc5 |
+21
-10
@@ -64,8 +64,8 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "de.dennisguse.opentracks"
|
applicationId "de.dennisguse.opentracks"
|
||||||
versionCode 5975
|
versionCode 5978
|
||||||
versionName "v4.17.0"
|
versionName "v4.17.1"
|
||||||
|
|
||||||
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
|
buildConfigField "String", "VERSION_NAME_FULL", "\"${getVersionName()}\""
|
||||||
|
|
||||||
@@ -95,37 +95,48 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nightly {
|
nightly {
|
||||||
signingConfig signingConfigs.nightly
|
|
||||||
applicationIdSuffix ".nightly"
|
applicationIdSuffix ".nightly"
|
||||||
|
signingConfig signingConfigs.nightly
|
||||||
}
|
}
|
||||||
|
|
||||||
release {
|
release {
|
||||||
|
// Non-reproducible: https://f-droid.org/de/packages/de.dennisguse.opentracks/
|
||||||
crunchPngs false
|
crunchPngs false
|
||||||
minifyEnabled 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"
|
applicationIdSuffix ".playstore"
|
||||||
versionNameSuffix "-PlayStore"
|
|
||||||
signingConfig signingConfigs.debug
|
crunchPngs false
|
||||||
|
minifyEnabled false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
applicationVariants.configureEach { variant ->
|
applicationVariants.configureEach { variant ->
|
||||||
variant.resValue "string", "applicationId", variant.applicationId
|
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())
|
setVersionCodeOverride(getVersionCode())
|
||||||
setVersionNameOverride(getVersionName())
|
setVersionNameOverride(getVersionName())
|
||||||
outputFileName = "${applicationId}_${variant.versionCode}.apk"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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.appcompat:appcompat:1.7.0'
|
||||||
implementation 'androidx.preference:preference:1.2.1'
|
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.
|
||||||
Reference in New Issue
Block a user