diff --git a/build.gradle b/build.gradle index c180094..95cf8b0 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,6 @@ plugins { id 'pl.allegro.tech.build.axion-release' version '1.3.4' - id 'org.jenkins-ci.jpi' version '0.38.0' - id 'java' + id 'org.jenkins-ci.jpi' version '0.39.0' id 'codenarc' id 'idea' } @@ -40,23 +39,21 @@ configurations { } dependencies { - compile 'org.codehaus.groovy:groovy-all:2.4.11' - compile('com.atlassian.jira:jira-rest-java-client-core:5.2.1') { + implementation 'org.codehaus.groovy:groovy-all:2.4.11' + api('com.atlassian.jira:jira-rest-java-client-core:5.2.1') { exclude group: 'org.slf4j' exclude group: 'org.springframework' } - compile 'io.atlassian.fugue:fugue:4.7.2' - compile 'com.google.inject.extensions:guice-multibindings:4.0' - testCompile 'org.jenkins-ci:test-annotations:1.2' - testCompile 'org.jenkins-ci.plugins:matrix-auth:1.7@jar' - testCompile 'org.hamcrest:hamcrest-all:1.3' - testCompile 'org.spockframework:spock-core:1.0-groovy-2.4' - testCompile 'cglib:cglib-nodep:3.2.5' // used by Spock - testCompile 'org.objenesis:objenesis:2.5.1' // used by Spock - integrationTestCompile 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1' - jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-job:2.11.2@jar' - jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-api:2.15@jar' // used by workflow-job - jenkinsTest 'org.jenkins-ci.plugins.workflow:workflow-step-api:2.10@jar' // used by workflow-job + api 'io.atlassian.fugue:fugue:4.7.2' + api 'com.google.inject.extensions:guice-multibindings:4.0' + testImplementation 'org.jenkins-ci:test-annotations:1.2' + testImplementation 'org.jenkins-ci.plugins:matrix-auth:1.7' + testImplementation 'org.hamcrest:hamcrest-all:1.3' + testImplementation 'org.spockframework:spock-core:1.0-groovy-2.4' + testImplementation 'cglib:cglib-nodep:3.2.5' // used by Spock + testImplementation 'org.objenesis:objenesis:2.5.1' // used by Spock + integrationTestImplementation 'org.codehaus.groovy.modules.http-builder:http-builder:0.7.1' + testImplementation 'org.jenkins-ci.plugins.workflow:workflow-job:2.11.2' } test {