From e8f5eaa7ed1c7c50d3b6f8980011604066a19cd4 Mon Sep 17 00:00:00 2001 From: Jonah Bull Date: Thu, 9 Apr 2020 14:58:18 -0500 Subject: [PATCH] Update groovy dependency The groovy version included in Jenkins is now 2.4.12 and the latest version of the plugin no longer loads without updating these dependencies. I'm not 100% sure this is the right way to do this, but it does work :-) See: https://issues.jenkins-ci.org/browse/JENKINS-61859. --- build.gradle | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 66231ac..46a3710 100644 --- a/build.gradle +++ b/build.gradle @@ -45,11 +45,11 @@ repositories { } dependencies { - // NOTE: groovy version included in Jenkins is 1.8.9 - runtime 'org.codehaus.groovy:groovy-all:1.8.9' + runtime 'org.codehaus.groovy:groovy-all:2.4.12' + compile 'org.codehaus.groovy:groovy-all:2.4.12' compile 'org.yaml:snakeyaml:1.26' - testCompile 'org.spockframework:spock-core:0.7-groovy-1.8' + testCompile 'org.spockframework:spock-core:1.0-groovy-2.4' jenkinsPlugins 'org.jenkins-ci.plugins:matrix-project:1.6@jar' }