Fix warning in Versions.kt: const and naming convention.

This commit is contained in:
Benoit Marty 2024-10-31 09:21:43 +01:00 committed by Benoit Marty
parent 5eeb46702f
commit 6a1e9d0321
4 changed files with 11 additions and 11 deletions

View file

@ -50,10 +50,10 @@ private const val versionMinor = 7
private const val versionPatch = 3
object Versions {
val versionCode = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
val versionName = "$versionMajor.$versionMinor.$versionPatch"
const val compileSdk = 35
const val targetSdk = 35
const val VERSION_CODE = 4_000_000 + versionMajor * 1_00_00 + versionMinor * 1_00 + versionPatch
const val VERSION_NAME = "$versionMajor.$versionMinor.$versionPatch"
const val COMPILE_SDK = 35
const val TARGET_SDK = 35
// When updating the `minSdk`, make sure to update the value of `minSdkVersion` in the file `tools/release/release.sh`
val minSdk = if (isEnterpriseBuild) 26 else 24