Clarify the computation of versionCode.

This commit is contained in:
Benoit Marty 2023-07-21 12:10:04 +02:00 committed by Benoit Marty
parent f72e9fb7c2
commit 88c66dde58

View file

@ -35,7 +35,12 @@ import org.gradle.jvm.toolchain.JavaLanguageVersion
* Version when running the current debug build
* -------10_200
*
* So adding 4_000_000 to the current version Code computed here should be fine, we will have:
* So adding 4_000_000 to the current version Code computed here should be fine, and since the versionCode
* is multiplied by 10 in app/build.gradle.kts#L168:
* ```
* output.versionCode.set((output.versionCode.get() ?: 0) * 10 + abiCode))
* ```
* we will have:
* Release version:
* ---40_001_020
* Nightly version: