|
1 | 1 | plugins {
|
2 | 2 | id 'com.github.kt3k.coveralls' version '2.8.2'
|
3 | 3 | id 'jacoco'
|
4 |
| - id 'me.champeau.gradle.jmh' version '0.4.5' |
| 4 | + id 'me.champeau.gradle.jmh' version '0.5.3' |
5 | 5 | id 'nebula.optional-base' version '3.2.0'
|
6 |
| - id 'com.github.hierynomus.license' version '0.15.0' |
| 6 | + id 'com.github.hierynomus.license' version '0.16.1' |
7 | 7 | id 'com.github.spotbugs' version "4.5.0"
|
8 | 8 | }
|
9 | 9 |
|
@@ -94,23 +94,30 @@ configure(publishedProjects) {
|
94 | 94 | }
|
95 | 95 |
|
96 | 96 | dependencies {
|
97 |
| - compile group: 'commons-codec', name: 'commons-codec', version: commonCodecVersion |
| 97 | + implementation group: 'commons-codec', name: 'commons-codec', version: commonCodecVersion |
98 | 98 |
|
99 |
| - testCompile group: 'junit', name: 'junit', version: junitVersion |
100 |
| - testCompile group: 'org.mockito', name: 'mockito-core', version: mockitoVersion |
101 |
| - testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion |
102 |
| - testCompile group: 'com.google.guava', name: 'guava', version: guavaVersion |
| 99 | + testImplementation group: 'junit', name: 'junit', version: junitVersion |
| 100 | + testImplementation group: 'org.mockito', name: 'mockito-core', version: mockitoVersion |
| 101 | + testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion |
| 102 | + testImplementation group: 'com.google.guava', name: 'guava', version: guavaVersion |
103 | 103 |
|
104 | 104 | // logging dependencies (logback)
|
105 |
| - testCompile group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion |
106 |
| - testCompile group: 'ch.qos.logback', name: 'logback-core', version: logbackVersion |
| 105 | + testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion |
| 106 | + testImplementation group: 'ch.qos.logback', name: 'logback-core', version: logbackVersion |
107 | 107 |
|
108 |
| - testCompile group: 'com.google.code.gson', name: 'gson', version: gsonVersion |
109 |
| - testCompile group: 'org.json', name: 'json', version: jsonVersion |
110 |
| - testCompile group: 'com.googlecode.json-simple', name: 'json-simple', version: jsonSimpleVersion |
111 |
| - testCompile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion |
| 108 | + testImplementation group: 'com.google.code.gson', name: 'gson', version: gsonVersion |
| 109 | + testImplementation group: 'org.json', name: 'json', version: jsonVersion |
| 110 | + testImplementation group: 'com.googlecode.json-simple', name: 'json-simple', version: jsonSimpleVersion |
| 111 | + testImplementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion |
112 | 112 | }
|
113 | 113 |
|
| 114 | + configurations.all { |
| 115 | + resolutionStrategy { |
| 116 | + force "junit:junit:${junitVersion}" |
| 117 | + } |
| 118 | + } |
| 119 | + |
| 120 | + |
114 | 121 | def docTitle = "Optimizely Java SDK"
|
115 | 122 | if (name.equals('core-httpclient-impl')) {
|
116 | 123 | docTitle = "Optimizely Java SDK: Httpclient"
|
|
0 commit comments