mirror of https://github.com/Minestom/Minestom.git
Upgrade gradle version to 7.0.2
This commit is contained in:
parent
cc97062dfa
commit
b49fb9cacf
12
build.gradle
12
build.gradle
|
@ -2,9 +2,7 @@ import org.gradle.internal.os.OperatingSystem
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'java'
|
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'net.ltgt.apt' version '0.10'
|
|
||||||
id 'org.jetbrains.kotlin.jvm' version '1.5.0'
|
id 'org.jetbrains.kotlin.jvm' version '1.5.0'
|
||||||
id 'checkstyle'
|
id 'checkstyle'
|
||||||
}
|
}
|
||||||
|
@ -12,7 +10,7 @@ plugins {
|
||||||
group 'net.minestom.server'
|
group 'net.minestom.server'
|
||||||
version '1.0'
|
version '1.0'
|
||||||
|
|
||||||
sourceCompatibility = 1.11
|
sourceCompatibility = 11
|
||||||
project.ext.lwjglVersion = "3.2.3"
|
project.ext.lwjglVersion = "3.2.3"
|
||||||
|
|
||||||
switch (OperatingSystem.current()) {
|
switch (OperatingSystem.current()) {
|
||||||
|
@ -53,7 +51,7 @@ allprojects {
|
||||||
// see https://stackoverflow.com/a/56641766
|
// see https://stackoverflow.com/a/56641766
|
||||||
doLast {
|
doLast {
|
||||||
// Append the fix to the file
|
// Append the fix to the file
|
||||||
def searchScript = new File(destinationDir.getAbsolutePath() + '/search.js')
|
def searchScript = new File(destinationDir, '/search.js')
|
||||||
searchScript.append '\n\n' +
|
searchScript.append '\n\n' +
|
||||||
'getURLPrefix = function(ui) {\n' +
|
'getURLPrefix = function(ui) {\n' +
|
||||||
' return \'\';\n' +
|
' return \'\';\n' +
|
||||||
|
@ -62,7 +60,7 @@ allprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
toolVersion "8.37"
|
toolVersion "8.42"
|
||||||
configFile file("${projectDir}/minestom_checks.xml")
|
configFile file("${projectDir}/minestom_checks.xml")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -114,6 +112,10 @@ test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType(Zip).configureEach {
|
||||||
|
duplicatesStrategy DuplicatesStrategy.EXCLUDE
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
// Junit Testing Framework
|
// Junit Testing Framework
|
||||||
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
@ -277,7 +277,7 @@
|
||||||
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
|
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
|
||||||
</module>
|
</module>
|
||||||
<module name="JavadocMethod">
|
<module name="JavadocMethod">
|
||||||
<property name="scope" value="public"/>
|
<property name="accessModifiers" value="public"/>
|
||||||
<property name="allowMissingParamTags" value="true"/>
|
<property name="allowMissingParamTags" value="true"/>
|
||||||
<property name="allowMissingReturnTag" value="true"/>
|
<property name="allowMissingReturnTag" value="true"/>
|
||||||
<property name="allowedAnnotations" value="Override, Test"/>
|
<property name="allowedAnnotations" value="Override, Test"/>
|
||||||
|
|
Loading…
Reference in New Issue