Skip to content

Commit f5878ba

Browse files
authored
Merge pull request #50 from rundeck-plugins/dependency_updates
Update gradle version, plugin dependencies
2 parents efdf27d + 9ac2f94 commit f5878ba

File tree

3 files changed

+13
-17
lines changed

3 files changed

+13
-17
lines changed

build.gradle

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@ buildscript {
66
}
77

88
plugins {
9-
id 'pl.allegro.tech.build.axion-release' version '1.10.0'
9+
id 'pl.allegro.tech.build.axion-release' version '1.13.4'
1010
}
1111
defaultTasks 'clean','build'
1212
apply plugin: 'java'
1313
apply plugin: 'idea'
1414
apply plugin: 'pl.allegro.tech.build.axion-release'
15-
apply plugin: 'maven'
1615

1716
sourceCompatibility = 1.8
1817
ext.rundeckPluginVersion= '1.2'
@@ -66,18 +65,20 @@ dependencies {
6665
// add any third-party jar dependencies you wish to include in the plugin
6766
// using the `pluginLibs` configuration as shown here:
6867

69-
compile "com.amazonaws:aws-java-sdk-s3:1.11.743"
70-
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.11.743') {
68+
implementation "com.amazonaws:aws-java-sdk-s3:1.12.470"
69+
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-s3', version: '1.12.470') {
7170
exclude group: "com.fasterxml.jackson.core"
71+
exclude group: "com.fasterxml.jackson.dataformat"
7272
}
73-
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.11.743') {
73+
pluginLibs (group: 'com.amazonaws', name: 'aws-java-sdk-sts', version: '1.12.470') {
7474
exclude group: "com.fasterxml.jackson.core"
75+
exclude group: "com.fasterxml.jackson.dataformat"
7576
}
7677

7778

7879
//the compile dependency won't add the rundeck-core jar to the plugin contents
79-
compile group: 'org.rundeck', name: 'rundeck-core', version: rundeckVersion
80-
testCompile group: 'junit', name:'junit', version: '4.11'
80+
implementation group: 'org.rundeck', name: 'rundeck-core', version: rundeckVersion
81+
testImplementation group: 'junit', name:'junit', version: '4.11'
8182
}
8283

8384
// task to copy plugin libs to output/lib dir
@@ -107,8 +108,4 @@ jar {
107108
}
108109
}
109110
//set jar task to depend on copyToLib
110-
jar.dependsOn(copyToLib)
111-
112-
//task wrapper(type: Wrapper) {
113-
// gradleVersion = '2.12'
114-
//}
111+
jar.dependsOn(copyToLib)
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Thu Apr 14 14:20:18 PDT 2016
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip

src/test/java/org/rundeck/plugins/S3LogFileStoragePluginTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public void isAvailableS3Exception() {
660660
} catch (ExecutionFileStorageException e) {
661661
Assert.assertEquals(
662662
"blah (Service: null; Status Code: 0; Error Code: null; Request ID: requestId; S3 Extended " +
663-
"Request ID: extendedRequestId)",
663+
"Request ID: extendedRequestId; Proxy: null)",
664664
e.getMessage()
665665
);
666666
}
@@ -702,7 +702,7 @@ public void storeS3Exception() throws IOException {
702702
Assert.fail("should throw");
703703
} catch (ExecutionFileStorageException e) {
704704
Assert.assertEquals(
705-
"putObject (Service: null; Status Code: 0; Error Code: null; Request ID: requestId; S3 Extended Request ID: extendedRequestId)",
705+
"putObject (Service: null; Status Code: 0; Error Code: null; Request ID: requestId; S3 Extended Request ID: extendedRequestId; Proxy: null)",
706706
e.getMessage()
707707
);
708708
}
@@ -855,7 +855,7 @@ public void retrieveS3Exception() throws IOException {
855855
Assert.fail("should throw");
856856
} catch (ExecutionFileStorageException e) {
857857
Assert.assertEquals(
858-
"getObject (Service: null; Status Code: 0; Error Code: null; Request ID: requestId; S3 Extended Request ID: extendedRequestId)",
858+
"getObject (Service: null; Status Code: 0; Error Code: null; Request ID: requestId; S3 Extended Request ID: extendedRequestId; Proxy: null)",
859859
e.getMessage()
860860
);
861861
}

0 commit comments

Comments
 (0)