Skip to content

Commit d748bad

Browse files
committed
Upgrade deprecated Gradle features
1 parent 8035a1e commit d748bad

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

build.gradle

+11-11
Original file line numberDiff line numberDiff line change
@@ -21,40 +21,40 @@ repositories {
2121

2222
dependencies {
2323
// For CLI
24-
compile group: 'com.beust', name: 'jcommander', version: '1.78'
24+
implementation group: 'com.beust', name: 'jcommander', version: '1.78'
2525

2626
// For making HTTP requests
27-
compile group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
27+
implementation group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.4'
2828

2929
// For making async HTTP requests
30-
compile group: 'org.asynchttpclient', name: 'async-http-client', version: '2.12.2'
30+
implementation group: 'org.asynchttpclient', name: 'async-http-client', version: '2.12.2'
3131

3232
// For cryptographic operations
3333
shadow group: 'org.bouncycastle', name: 'bcprov-jdk15on', version: '1.68'
3434

3535
// For creating and signing JWT
36-
compile group: 'org.bitbucket.b_c', name: 'jose4j', version: '0.7.6'
36+
implementation group: 'org.bitbucket.b_c', name: 'jose4j', version: '0.7.6'
3737

3838
// For parsing JSON
39-
testCompile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
39+
testImplementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
4040

4141
// For making HTTP requests
42-
testCompile group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.13'
42+
testImplementation group: 'org.apache.httpcomponents', name: 'fluent-hc', version: '4.5.13'
4343

4444
// For testing, obviously
45-
testCompile group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.0'
45+
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.0'
4646

4747
// For running JUnit tests
48-
testRuntime group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0'
48+
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0'
4949

5050
// For turning InputStream to String
51-
testCompile group: 'commons-io', name: 'commons-io', version: '2.8.0'
51+
testImplementation group: 'commons-io', name: 'commons-io', version: '2.8.0'
5252

5353
// For reading the demo vapid keypair from a pem file
54-
testCompile group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.68'
54+
testImplementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.68'
5555

5656
// For verifying Base64Encoder results in unit tests
57-
testCompile group: 'com.google.guava', name: 'guava', version: '30.1-jre'
57+
testImplementation group: 'com.google.guava', name: 'guava', version: '30.1-jre'
5858
}
5959

6060
wrapper {

0 commit comments

Comments
 (0)