diff --git a/build.gradle b/build.gradle index 24beda9d..0449452c 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ buildscript { } plugins { - id 'com.diffplug.gradle.spotless' version '4.5.1' + id 'com.diffplug.spotless' version '6.22.0' } apply plugin: 'net.minecraftforge.gradle' diff --git a/gradle.properties b/gradle.properties index ef16d2e8..ce4282e1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,11 +1,5 @@ # Xmx1G increases memory for Gradle -# The other shit: https://github.com/diffplug/spotless/issues/834#issuecomment-819118761 -org.gradle.jvmargs=-Xmx1G \ - --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ - --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED +org.gradle.jvmargs=-Xmx1G mod_name=Psi mod_id=psi