diff --git a/examples/multi-job/build.gradle b/examples/multi-job/build.gradle index af9b0f2..339ac8a 100644 --- a/examples/multi-job/build.gradle +++ b/examples/multi-job/build.gradle @@ -1,24 +1,15 @@ -buildscript { - repositories { - mavenLocal() - jcenter() - } - - dependencies { - classpath 'nl.ikoodi.gradle.plugin:gradle-jenkins-jobdsl:0.2.0' - } +plugins { + id 'groovy' + id 'nl.ikoodi.jenkins.jobdsl' version '0.4.1' } -apply plugin: 'groovy' -apply plugin: 'jenkins-jobdsl' - repositories { jcenter() } dependencies { compile 'org.codehaus.groovy:groovy:2.3.0' - compile 'org.jenkins-ci.plugins:job-dsl-core:1.22' + compile 'org.jenkins-ci.plugins:job-dsl-core:1.28' testCompile('org.spockframework:spock-core:0.7-groovy-2.0') { exclude module: 'groovy-all'