Skip to content

Commit a0175e5

Browse files
fhassakjyemin
authored andcommitted
JAVA-2844: Upgrade gradle and spotbugs to enable building with Java 10
Gradle is upgraded to 4.7 Spotbugs is upgraded to 3.1.2
1 parent fa27700 commit a0175e5

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ buildscript {
3636
classpath 'org.kordamp.gradle:clirr-gradle-plugin:0.2.2'
3737
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:1.12.+'
3838
classpath 'com.bmuschko:gradle-nexus-plugin:2.2'
39-
classpath "gradle.plugin.com.github.spotbugs:gradlePlugin:1.6.0"
39+
classpath "gradle.plugin.com.github.spotbugs:spotbugs-gradle-plugin:1.6.1"
4040
}
4141
}
4242

@@ -231,7 +231,7 @@ configure(subprojects.findAll { it.name != 'util' && it.name != 'mongo-java-driv
231231
spotbugs {
232232
excludeFilter = new File(configDir, 'findbugs-exclude.xml')
233233
sourceSets = [sourceSets.main]
234-
toolVersion = '3.1.0'
234+
toolVersion = '3.1.3'
235235
}
236236

237237
codenarc {
@@ -315,7 +315,7 @@ def setJavaDocOptions(MinimalJavadocOptions options) {
315315
// Root project configuration //
316316
//////////////////////////////////////////
317317
task wrapper(type: Wrapper) {
318-
gradleVersion = '4.5.1'
318+
gradleVersion = '4.7'
319319
}
320320

321321
gradle.buildFinished { BuildResult result ->

gradle/wrapper/gradle-wrapper.jar

-379 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
17-
#Sun Feb 18 19:10:42 CET 2018
1816
distributionBase=GRADLE_USER_HOME
1917
distributionPath=wrapper/dists
2018
zipStoreBase=GRADLE_USER_HOME
2119
zipStorePath=wrapper/dists
22-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5.1-bin.zip
20+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip

0 commit comments

Comments
 (0)