Config Version
The four numbers KiteConfig hands to a build-number scheme.
version = "1.4.0" splits into major, minor, and patch. reupload is the extra dial you turn when a store burns an upload. A scheme reads all four and returns one build number.
kiteConfig {
version("1.4.0") {
formula { v -> 1_000_000 * v.major + 10_000 * v.minor + 100 * v.patch + v.reupload }
}
}Content copied to clipboard
You never construct one. KiteConfig parses version, adds the platform rebuild dial, and passes the result into your lambda.
| From | Field | 1.4.0 with rebuild = 2 |
|---|---|---|
version | major | 1 |
version | minor | 4 |
version | patch | 0 |
android { rebuild } or ios { rebuild } | reupload | 2 |
See also
for the formula that consumes these.