|
1 | 1 | plugins { |
2 | | - id 'com.github.kt3k.coveralls' version '2.8.2' |
| 2 | + id 'com.github.kt3k.coveralls' version '2.12.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 | + id 'maven-publish' |
8 | 9 | } |
9 | 10 |
|
10 | 11 | allprojects { |
@@ -94,23 +95,30 @@ configure(publishedProjects) { |
94 | 95 | } |
95 | 96 |
|
96 | 97 | dependencies { |
97 | | - compile group: 'commons-codec', name: 'commons-codec', version: commonCodecVersion |
| 98 | + implementation group: 'commons-codec', name: 'commons-codec', version: commonCodecVersion |
98 | 99 |
|
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 |
| 100 | + testImplementation group: 'junit', name: 'junit', version: junitVersion |
| 101 | + testImplementation group: 'org.mockito', name: 'mockito-core', version: mockitoVersion |
| 102 | + testImplementation group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion |
| 103 | + testImplementation group: 'com.google.guava', name: 'guava', version: guavaVersion |
103 | 104 |
|
104 | 105 | // 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 |
| 106 | + testImplementation group: 'ch.qos.logback', name: 'logback-classic', version: logbackVersion |
| 107 | + testImplementation group: 'ch.qos.logback', name: 'logback-core', version: logbackVersion |
107 | 108 |
|
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 |
| 109 | + testImplementation group: 'com.google.code.gson', name: 'gson', version: gsonVersion |
| 110 | + testImplementation group: 'org.json', name: 'json', version: jsonVersion |
| 111 | + testImplementation group: 'com.googlecode.json-simple', name: 'json-simple', version: jsonSimpleVersion |
| 112 | + testImplementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jacksonVersion |
112 | 113 | } |
113 | 114 |
|
| 115 | + configurations.all { |
| 116 | + resolutionStrategy { |
| 117 | + force "junit:junit:${junitVersion}" |
| 118 | + } |
| 119 | + } |
| 120 | + |
| 121 | + |
114 | 122 | def docTitle = "Optimizely Java SDK" |
115 | 123 | if (name.equals('core-httpclient-impl')) { |
116 | 124 | docTitle = "Optimizely Java SDK: Httpclient" |
|
0 commit comments