Config Version
The four numbers KiteConfig hands to a build-number scheme.
version = "1.4.0" splits into major, minor, and patch. rebuild is the extra dial you turn when a store burns an upload. A scheme reads all four and returns one build number as text.
kiteConfig {
version = "1.4.0"
version {
scheme { v -> (1_000_000 * v.major + 10_000 * v.minor + 100 * v.patch + v.rebuild).toString() }
}
}Content copied to clipboard
You never construct one. KiteConfig parses the version, adds the platform's 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 |
version { rebuild } | rebuild | 2 |
See also
for the scheme that consumes these.