Skip to content

Commit ad3dcc7

Browse files
lppeddEdoardo Luppi
authored and
Edoardo Luppi
committed
build: simplify Reckon setup
1 parent af85ee4 commit ad3dcc7

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Diff for: settings.gradle.kts

+8-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ dependencyResolutionManagement {
1919
}
2020
}
2121

22-
extensions.configure<org.ajoberstar.reckon.gradle.ReckonExtension> {
23-
setDefaultInferredScope("minor")
24-
scopeFromProp()
25-
stageFromProp("alpha", "rc", "final") // version string will be based on last commit; when checking out a tag, that
26-
}
27-
2822
develocity {
2923
buildScan {
3024
val isCI = System.getenv("CI").toBoolean()
@@ -39,3 +33,11 @@ develocity {
3933
}
4034
}
4135
}
36+
37+
reckon {
38+
setDefaultInferredScope("minor")
39+
setScopeCalc(calcScopeFromProp())
40+
41+
stages("alpha", "rc", "final")
42+
setStageCalc(calcStageFromProp())
43+
}

0 commit comments

Comments
 (0)