1+
12buildscript {
23 repositories {
34 mavenCentral()
@@ -6,7 +7,7 @@ buildscript {
67}
78
89plugins {
9- id ' pl.allegro.tech.build.axion-release' version ' 1.10.0 '
10+ id ' pl.allegro.tech.build.axion-release' version ' 1.13.4 '
1011}
1112
1213group ' com.rundeck.plugin'
@@ -23,7 +24,7 @@ ext.pluginDescription = 'A notification plugin that makes HTTP requests'
2324
2425
2526scmVersion {
26- ignoreUncommittedChanges = false
27+ ignoreUncommittedChanges = true
2728 tag {
2829 prefix = ' '
2930 versionSeparator = ' '
@@ -45,35 +46,34 @@ configurations{
4546 pluginLibs
4647
4748 // declare compile to extend from pluginLibs so it inherits the dependencies
48- compile {
49+ implementation {
4950 extendsFrom pluginLibs
5051 }
5152}
5253
5354repositories {
5455 mavenCentral()
56+ mavenLocal()
57+ maven { url ' https://jitpack.io' }
58+
5559}
5660
5761dependencies {
58- compile group : ' org.rundeck' , name : ' rundeck-core' , version : ' 2.10.1'
59- compile ' org.slf4j:slf4j-api:1.7.30'
60- pluginLibs (group : ' org.codehaus.groovy.modules.http-builder' , name : ' http-builder' , version : ' 0.7.1' ) {
61- exclude (group : " commons-collections" , module : " commons-collections" )
62- exclude (group : " commons-beanutils" , module : " commons-beanutils" )
62+ implementation ' org.rundeck:rundeck-core:4.13.0-20230515'
63+
64+ pluginLibs (' com.github.rundeck-plugins:http-step:1.1.2' ){
65+ exclude group : ' org.rundeck' , module : ' rundeck-core'
6366 }
64- // bump xerces version brought by http-builder affected by CVE-2012-0881
65- pluginLibs(" xerces:xercesImpl:2.12.0" )
66- pluginLibs group : ' com.google.code.gson' , name : ' gson' , version : ' 2.8.2'
67- pluginLibs group : ' com.esotericsoftware.yamlbeans' , name : ' yamlbeans' , version : ' 1.13'
6867
69- compile ' org.codehaus.groovy:groovy-all:2.3.11 '
70- testCompile group : ' junit ' , name : ' junit ' , version : ' 4.12 '
68+ implementation group : ' org.apache.httpcomponents ' , name : ' httpclient ' , version : ' 4.5.14 '
69+ implementation ' org.codehaus.groovy:groovy-all:3.0.9 '
7170
71+ testImplementation group : ' junit' , name : ' junit' , version : ' 4.13.1'
7272
73- testCompile " org.codehaus.groovy:groovy-all:2.3.7 "
74- testCompile " org.spockframework:spock-core:0.7 -groovy-2 .0"
75- testCompile " cglib:cglib-nodep:2.2.2"
76- testCompile ' org.objenesis:objenesis:1.4'
73+ testImplementation " org.codehaus.groovy:groovy-all:3.0.17 "
74+ testImplementation " org.spockframework:spock-core:2.0 -groovy-3 .0"
75+ testImplementation " cglib:cglib-nodep:2.2.2"
76+ testImplementation ' org.objenesis:objenesis:1.4'
7777
7878}
7979
@@ -110,7 +110,6 @@ jar {
110110// set jar task to depend on copyToLib
111111jar. dependsOn(copyToLib)
112112
113- task wrapper (type : Wrapper ) {
114- gradleVersion = ' 3.3'
115- distributionUrl = " https://services.gradle.org/distributions/gradle-$gradleVersion -all.zip"
116- }
113+ tasks. withType(Test ) {
114+ useJUnitPlatform()
115+ }
0 commit comments