We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0059b5 commit b16c6f2Copy full SHA for b16c6f2
settings.gradle.kts
@@ -24,8 +24,16 @@ plugins {
24
}
25
26
reckon {
27
+ val isCiBuild = providers.environmentVariable("CI").isPresent
28
+
29
setDefaultInferredScope("patch")
- stages("beta", "final")
30
+ if (!isCiBuild) {
31
+ // Use a snapshot version scheme with Reckon when not running in CI, which allows caching to
32
+ // improve performance. Background: https://github.com/home-assistant/android/issues/5220.
33
+ snapshots()
34
+ } else {
35
+ stages("beta", "final")
36
+ }
37
setScopeCalc { java.util.Optional.of(org.ajoberstar.reckon.core.Scope.PATCH) }
38
setStageCalc(calcStageFromProp())
39
setTagWriter { it.toString() }
0 commit comments