diff --git a/reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonExtension.java b/reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonExtension.java index 01d2b8e..663c413 100644 --- a/reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonExtension.java +++ b/reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonExtension.java @@ -66,11 +66,19 @@ public DirectoryProperty getRepoDirectory() { } public void setDefaultInferredScope(String scope) { - this.reckonerBuilder.defaultInferredScope(Scope.from(scope)); + setDefaultInferredScope(Scope.from(scope)); + } + + public void setDefaultInferredScope(Scope scope) { + this.reckonerBuilder.defaultInferredScope(scope); } public void setParallelBranchScope(String scope) { - this.reckonerBuilder.parallelBranchScope(Scope.from(scope)); + setParallelBranchScope(Scope.from(scope)); + } + + public void setParallelBranchScope(Scope scope) { + this.reckonerBuilder.parallelBranchScope(scope); } public void stages(String... stages) {