Skip to content

Commit 1b75dae

Browse files
markelliotfabienrenaud
authored andcommitted
Upgrade to Gradle 7
1 parent d57ddec commit 1b75dae

File tree

2 files changed

+35
-35
lines changed

2 files changed

+35
-35
lines changed

build.gradle

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -26,72 +26,72 @@ ext {
2626
dependencies {
2727

2828
// CLI and misc
29-
compile group: 'io.airlift', name: 'airline', version: '0.9'
30-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
29+
implementation group: 'io.airlift', name: 'airline', version: '0.9'
30+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.9'
3131

3232
// org.json
33-
compile group: 'org.json', name: 'json', version: '20090211'
33+
implementation group: 'org.json', name: 'json', version: '20090211'
3434
// Jackson
35-
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonVersion}"
36-
compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-afterburner', version: "${jacksonVersion}"
37-
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "${jacksonVersion}"
35+
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: "${jacksonVersion}"
36+
implementation group: 'com.fasterxml.jackson.module', name: 'jackson-module-afterburner', version: "${jacksonVersion}"
37+
implementation group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: "${jacksonVersion}"
3838
// GSON
39-
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
39+
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'
4040
// JSONP
41-
compile group: 'javax.json', name: 'javax.json-api', version: '1.1.4'
42-
compile group: 'org.glassfish', name: 'javax.json', version: '1.1.4'
41+
implementation group: 'javax.json', name: 'javax.json-api', version: '1.1.4'
42+
implementation group: 'org.glassfish', name: 'javax.json', version: '1.1.4'
4343
// JSONB
44-
compile group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0'
45-
compile group: 'org.eclipse', name: 'yasson', version: '1.0.6'
44+
implementation group: 'javax.json.bind', name: 'javax.json.bind-api', version: '1.0'
45+
implementation group: 'org.eclipse', name: 'yasson', version: '1.0.6'
4646
// GENSON
47-
compile group: 'com.owlike', name: 'genson', version: '1.6'
47+
implementation group: 'com.owlike', name: 'genson', version: '1.6'
4848
// FlexJson
49-
compile group: 'net.sf.flexjson', name: 'flexjson', version: '3.3'
49+
implementation group: 'net.sf.flexjson', name: 'flexjson', version: '3.3'
5050
// FastJson
51-
compile group: 'com.alibaba', name: 'fastjson', version: '1.2.62'
51+
implementation group: 'com.alibaba', name: 'fastjson', version: '1.2.62'
5252
// json-io
53-
compile group: 'com.cedarsoftware', name: 'json-io', version: '4.12.0'
53+
implementation group: 'com.cedarsoftware', name: 'json-io', version: '4.12.0'
5454
// boon
55-
compile group: 'io.fastjson', name: 'boon', version: '0.34'
55+
implementation group: 'io.fastjson', name: 'boon', version: '0.34'
5656
// johnzon
57-
compile group: 'org.apache.johnzon', name: 'johnzon-core', version: "${johnzonVersion}"
58-
compile group: 'org.apache.johnzon', name: 'johnzon-mapper', version: "${johnzonVersion}"
57+
implementation group: 'org.apache.johnzon', name: 'johnzon-core', version: "${johnzonVersion}"
58+
implementation group: 'org.apache.johnzon', name: 'johnzon-mapper', version: "${johnzonVersion}"
5959
// json-smart
60-
compile group: 'net.minidev', name: 'json-smart', version: '2.3'
60+
implementation group: 'net.minidev', name: 'json-smart', version: '2.3'
6161
// DSL-json
62-
compile group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
62+
implementation group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
6363
annotationProcessor group: 'com.dslplatform', name: 'dsl-json-java8', version: "${dslJsonVersion}"
6464
// LoganSquare
65-
compile group: 'com.bluelinelabs', name: 'logansquare', version: '1.3.7'
65+
implementation group: 'com.bluelinelabs', name: 'logansquare', version: '1.3.7'
6666
annotationProcessor group: 'com.bluelinelabs', name: 'logansquare-compiler', version: '1.3.7'
6767
// json-simple
68-
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
68+
implementation group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
6969
// nanojson
70-
compile group: 'com.grack', name: 'nanojson', version: '1.4'
70+
implementation group: 'com.grack', name: 'nanojson', version: '1.4'
7171
// jodd
72-
compile group: 'org.jodd', name: 'jodd-json', version: '5.1.3'
72+
implementation group: 'org.jodd', name: 'jodd-json', version: '5.1.3'
7373
// moshi
74-
compile group: 'com.squareup.moshi', name: 'moshi', version: '1.9.2'
74+
implementation group: 'com.squareup.moshi', name: 'moshi', version: '1.9.2'
7575
// tapestry
76-
compile group: 'org.apache.tapestry', name: 'tapestry-json', version: '5.4.5'
76+
implementation group: 'org.apache.tapestry', name: 'tapestry-json', version: '5.4.5'
7777
// jsoniter
78-
compile group: 'com.jsoniter', name: 'jsoniter', version: '0.9.23'
79-
compile group: 'org.javassist', name: 'javassist', version: '3.26.0-GA'
78+
implementation group: 'com.jsoniter', name: 'jsoniter', version: '0.9.23'
79+
implementation group: 'org.javassist', name: 'javassist', version: '3.26.0-GA'
8080
// minimal-json
81-
compile group: 'com.eclipsesource.minimal-json', name: 'minimal-json', version: '0.9.5'
81+
implementation group: 'com.eclipsesource.minimal-json', name: 'minimal-json', version: '0.9.5'
8282
// mjson
83-
compile group: 'org.sharegov', name: 'mjson', version: '1.4.1'
83+
implementation group: 'org.sharegov', name: 'mjson', version: '1.4.1'
8484
// underscore-java
85-
compile group: 'com.github.javadev', name: 'underscore', version: '1.52'
85+
implementation group: 'com.github.javadev', name: 'underscore', version: '1.52'
8686
//purejson
87-
compile group: 'io.github.senthilganeshs', name: 'purejson', version: '1.0.1'
87+
implementation group: 'io.github.senthilganeshs', name: 'purejson', version: '1.0.1'
8888

8989
// Test
90-
testCompile group: 'junit', name: 'junit', version: '4.13'
90+
testImplementation group: 'junit', name: 'junit', version: '4.13'
9191

9292
// IMPORTANT: Leave JMH at the end!
9393
// JMH
94-
compile group: 'org.openjdk.jmh', name: 'jmh-core', version: "${jmhVersion}"
94+
implementation group: 'org.openjdk.jmh', name: 'jmh-core', version: "${jmhVersion}"
9595
annotationProcessor group: 'org.openjdk.jmh', name: 'jmh-generator-annprocess', version: "${jmhVersion}"
9696
}
9797

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)