3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-06 00:00:47 +01:00

Bump to Gradle 4.9, fix deprecation warnings.

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-07-31 15:25:34 -04:00
Ursprung 908aeb062d
Commit 25d13b2cc4
2 geänderte Dateien mit 15 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -40,6 +40,14 @@ dependencies {
testCompile "org.junit.jupiter:junit-jupiter-engine:${junitVersion}" testCompile "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
} }
compileJava {
options.compilerArgs += ['-proc:none']
}
compileTestJava {
options.compilerArgs += ['-proc:none']
}
jar { jar {
manifest { manifest {
attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity' attributes 'Main-Class': 'com.velocitypowered.proxy.Velocity'
@ -47,6 +55,12 @@ jar {
} }
} }
test {
reports {
junitXml.enabled = true
}
}
task javadocJar(type: Jar) { task javadocJar(type: Jar) {
classifier 'javadoc' classifier 'javadoc'
from javadoc from javadoc

Datei anzeigen

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists 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