File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 id ' fabric-loom' version ' 1.10-SNAPSHOT'
33 id ' legacy-looming' version " 1.10-SNAPSHOT" // Version must be the same as fabric-loom's
44 id ' maven-publish'
5- id ' com.github.johnrengelman. shadow' version ' 8.1.1 '
5+ id ' com.gradleup. shadow' version ' 8.3.6 '
66 id " com.modrinth.minotaur" version " 2.+"
77 id ' jacoco'
88 id " org.sonarqube" version " 5.0.0.4638"
@@ -79,7 +79,7 @@ processResources {
7979// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
8080tasks. withType(JavaCompile ). configureEach {
8181 it. options. encoding = " UTF-8"
82- // if (JavaVersion.current().isJava9Compatible()) it.options.release = 8
82+ if (JavaVersion . current(). isJava9Compatible()) it. options. release = 17
8383}
8484
8585java {
8888 // If you remove this line, sources will not be generated.
8989 withSourcesJar()
9090
91- sourceCompatibility = JavaVersion . VERSION_1_8
92- targetCompatibility = JavaVersion . VERSION_1_8
91+ sourceCompatibility = JavaVersion . VERSION_17
92+ targetCompatibility = JavaVersion . VERSION_17
9393}
9494
9595shadowJar {
You can’t perform that action at this time.
0 commit comments