From 25d13b2cc4f3ed111c3541466baaed01e7381d8a Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Tue, 31 Jul 2018 15:25:34 -0400 Subject: [PATCH] Bump to Gradle 4.9, fix deprecation warnings. --- build.gradle | 14 ++++++++++++++ gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 62cf0766b..ffab65172 100644 --- a/build.gradle +++ b/build.gradle @@ -40,6 +40,14 @@ dependencies { testCompile "org.junit.jupiter:junit-jupiter-engine:${junitVersion}" } +compileJava { + options.compilerArgs += ['-proc:none'] +} + +compileTestJava { + options.compilerArgs += ['-proc:none'] +} + jar { manifest { attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity' @@ -47,6 +55,12 @@ jar { } } +test { + reports { + junitXml.enabled = true + } +} + task javadocJar(type: Jar) { classifier 'javadoc' from javadoc diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index e89beaead..53fd890d2 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip