Skip to content

Commit

Permalink
Version 14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Dec 22, 2023
1 parent 06049cd commit edc256e
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,19 @@ final def buildCommit = providers.exec {
commandLine('git', 'rev-parse', '--short=7', 'HEAD')
}.standardOutput.asText.get().trim()

final def version = "13.0.0"
final def versionDisplayName = "${version} (${buildCommit})"
final def majorVersion = versionDisplayName.split("\\.")[0]
final def versionString = "14.0.0"
final def versionDisplayName = "${versionString} (${buildCommit})"
final def parts = versionString.split("\\.")
final def majorVersion = parts[0]
final def versionInt = parts[0].toInteger() * 1000000 + parts[1].toInteger() * 10000 + parts[2].toInteger() * 100

final def quickstepMinSdk = "34"
final def quickstepMaxSdk = "34"

android {
namespace "com.android.launcher3"
defaultConfig {
versionCode 13_00_00_00
versionCode versionInt
versionName "${versionDisplayName}"
buildConfigField "String", "VERSION_DISPLAY_NAME", "\"${versionDisplayName}\""
buildConfigField "String", "MAJOR_VERSION", "\"${majorVersion}\""
Expand Down

0 comments on commit edc256e

Please sign in to comment.