fix(build): ci adjustments

This commit is contained in:
auth
2023-10-10 19:24:09 +02:00
parent c2ff53e32a
commit 626ea59ff6
3 changed files with 7 additions and 4 deletions

View File

@@ -5,7 +5,10 @@ plugins {
alias(libs.plugins.kotlinAndroid) apply false
}
rootProject.ext.set("appVersionName", "2.0.0")
rootProject.ext.set("appVersionCode", 10)
var versionName = "2.0.0"
var versionCode = "0" //"0" for now until stable release
rootProject.ext.set("appVersionName", versionName)
rootProject.ext.set("appVersionCode", versionCode)
rootProject.ext.set("applicationId", "me.rhunk.snapenhance")
rootProject.ext.set("nativeName", properties["custom_native_name"] ?: java.security.SecureRandom().nextLong(1000000000, 99999999999).toString(16))

View File

@@ -27,7 +27,7 @@ android {
tasks.register("getVersion") {
doLast {
val versionFile = File("app/build/version.txt")
versionFile.writeText(android.defaultConfig.versionName.toString())
versionFile.writeText(rootProject.ext["appVersionName"].toString())
}
}

View File

@@ -9,7 +9,7 @@ material-icons-core = "1.5.3"
material-icons-extended = "1.6.0-alpha07"
coil-compose = "2.4.0"
navigation-compose = "2.7.4"
osmdroid-android = "6.1.16"
osmdroid-android = "6.1.17"
recyclerview = "1.3.1"
bcprov-jdk18on = "1.76"