From 87d334dac50c4a03c320426742ed48d28251a02c Mon Sep 17 00:00:00 2001 From: Artur Kosta Date: Tue, 25 Jun 2019 10:03:59 +0200 Subject: [PATCH] Make applyDefaultConfiguration final and package scope Signed-off-by: Artur Kosta --- .../com/here/gradle/plugins/jobdsl/util/PipelineBuilder.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/groovy/com/here/gradle/plugins/jobdsl/util/PipelineBuilder.groovy b/plugin/src/main/groovy/com/here/gradle/plugins/jobdsl/util/PipelineBuilder.groovy index 3b8eadd..7d94f32 100644 --- a/plugin/src/main/groovy/com/here/gradle/plugins/jobdsl/util/PipelineBuilder.groovy +++ b/plugin/src/main/groovy/com/here/gradle/plugins/jobdsl/util/PipelineBuilder.groovy @@ -73,7 +73,7 @@ class PipelineBuilder { } } - private applyDefaultConfiguration(PipelineJobBuilder jobBuilder) { + final applyDefaultConfiguration(PipelineJobBuilder jobBuilder) { defaultConfiguration.each { key, value -> if (jobBuilder.hasProperty(key) && jobBuilder.getProperty(key) == null) { jobBuilder."${key}" = value