File tree 6 files changed +39
-5
lines changed
6 files changed +39
-5
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,9 @@ dependencies {
61
61
62
62
// needed by S3
63
63
testImplementation(" javax.xml.bind:jaxb-api:2.3.1" )
64
+
65
+ // last version that does not use json protocol
66
+ latestDepTestLibrary(" com.amazonaws:aws-java-sdk-sqs:1.12.583" )
64
67
}
65
68
66
69
testing {
@@ -94,7 +97,12 @@ testing {
94
97
dependencies {
95
98
implementation(project(" :instrumentation:aws-sdk:aws-sdk-1.11:testing" ))
96
99
97
- implementation(" com.amazonaws:aws-java-sdk-sqs:1.11.106" )
100
+ if (findProperty(" testLatestDeps" ) as Boolean ) {
101
+ // last version that does not use json protocol
102
+ implementation(" com.amazonaws:aws-java-sdk-sqs:1.12.583" )
103
+ } else {
104
+ implementation(" com.amazonaws:aws-java-sdk-sqs:1.11.106" )
105
+ }
98
106
}
99
107
100
108
targets {
@@ -110,7 +118,12 @@ testing {
110
118
dependencies {
111
119
implementation(project(" :instrumentation:aws-sdk:aws-sdk-1.11:testing" ))
112
120
113
- implementation(" com.amazonaws:aws-java-sdk-sqs:1.11.106" )
121
+ if (findProperty(" testLatestDeps" ) as Boolean ) {
122
+ // last version that does not use json protocol
123
+ implementation(" com.amazonaws:aws-java-sdk-sqs:1.12.583" )
124
+ } else {
125
+ implementation(" com.amazonaws:aws-java-sdk-sqs:1.11.106" )
126
+ }
114
127
}
115
128
}
116
129
}
Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ dependencies {
18
18
testLibrary(" com.amazonaws:aws-java-sdk-dynamodb:1.11.106" )
19
19
testLibrary(" com.amazonaws:aws-java-sdk-sns:1.11.106" )
20
20
testLibrary(" com.amazonaws:aws-java-sdk-sqs:1.11.106" )
21
+
22
+ // last version that does not use json protocol
23
+ latestDepTestLibrary(" com.amazonaws:aws-java-sdk-sqs:1.12.583" )
21
24
}
22
25
23
26
tasks {
Original file line number Diff line number Diff line change @@ -17,4 +17,7 @@ dependencies {
17
17
testLibrary(" com.amazonaws:aws-java-sdk-kinesis:1.11.106" )
18
18
testLibrary(" com.amazonaws:aws-java-sdk-dynamodb:1.11.106" )
19
19
testLibrary(" com.amazonaws:aws-java-sdk-sns:1.11.106" )
20
+
21
+ // last version that does not use json protocol
22
+ latestDepTestLibrary(" com.amazonaws:aws-java-sdk-sqs:1.12.583" )
20
23
}
Original file line number Diff line number Diff line change @@ -84,6 +84,9 @@ dependencies {
84
84
testLibrary(" software.amazon.awssdk:sqs:2.2.0" )
85
85
testLibrary(" software.amazon.awssdk:sns:2.2.0" )
86
86
testLibrary(" software.amazon.awssdk:ses:2.2.0" )
87
+
88
+ // last version that does not use json protocol
89
+ latestDepTestLibrary(" software.amazon.awssdk:sqs:2.21.17" )
87
90
}
88
91
89
92
val latestDepTest = findProperty(" testLatestDeps" ) as Boolean
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ dependencies {
19
19
testLibrary(" software.amazon.awssdk:s3:2.2.0" )
20
20
testLibrary(" software.amazon.awssdk:sqs:2.2.0" )
21
21
testLibrary(" software.amazon.awssdk:sns:2.2.0" )
22
+
23
+ // last version that does not use json protocol
24
+ latestDepTestLibrary(" software.amazon.awssdk:sqs:2.21.17" )
22
25
}
23
26
24
27
tasks {
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ dependencies {
19
19
testLibrary(" software.amazon.awssdk:rds:2.2.0" )
20
20
testLibrary(" software.amazon.awssdk:s3:2.2.0" )
21
21
testLibrary(" software.amazon.awssdk:ses:2.2.0" )
22
+
23
+ // last version that does not use json protocol
24
+ latestDepTestLibrary(" software.amazon.awssdk:sqs:2.21.17" )
22
25
}
23
26
24
27
testing {
@@ -33,9 +36,15 @@ testing {
33
36
dependencies {
34
37
implementation(project())
35
38
implementation(project(" :instrumentation:aws-sdk:aws-sdk-2.2:testing" ))
36
- implementation(" software.amazon.awssdk:aws-core:2.2.0" )
37
- implementation(" software.amazon.awssdk:aws-json-protocol:2.2.0" )
38
- implementation(" software.amazon.awssdk:dynamodb:2.2.0" )
39
+ if (findProperty(" testLatestDeps" ) as Boolean ) {
40
+ implementation(" software.amazon.awssdk:aws-core:+" )
41
+ implementation(" software.amazon.awssdk:aws-json-protocol:+" )
42
+ implementation(" software.amazon.awssdk:dynamodb:+" )
43
+ } else {
44
+ implementation(" software.amazon.awssdk:aws-core:2.2.0" )
45
+ implementation(" software.amazon.awssdk:aws-json-protocol:2.2.0" )
46
+ implementation(" software.amazon.awssdk:dynamodb:2.2.0" )
47
+ }
39
48
}
40
49
}
41
50
}
You can’t perform that action at this time.
0 commit comments