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 {
2
2
id ' fabric-loom' version ' 1.10-SNAPSHOT'
3
3
id ' legacy-looming' version " 1.10-SNAPSHOT" // Version must be the same as fabric-loom's
4
4
id ' maven-publish'
5
- id ' com.github.johnrengelman. shadow' version ' 8.1.1 '
5
+ id ' com.gradleup. shadow' version ' 8.3.6 '
6
6
id " com.modrinth.minotaur" version " 2.+"
7
7
id ' jacoco'
8
8
id " org.sonarqube" version " 5.0.0.4638"
@@ -79,7 +79,7 @@ processResources {
79
79
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
80
80
tasks. withType(JavaCompile ). configureEach {
81
81
it. options. encoding = " UTF-8"
82
- // if (JavaVersion.current().isJava9Compatible()) it.options.release = 8
82
+ if (JavaVersion . current(). isJava9Compatible()) it. options. release = 17
83
83
}
84
84
85
85
java {
88
88
// If you remove this line, sources will not be generated.
89
89
withSourcesJar()
90
90
91
- sourceCompatibility = JavaVersion . VERSION_1_8
92
- targetCompatibility = JavaVersion . VERSION_1_8
91
+ sourceCompatibility = JavaVersion . VERSION_17
92
+ targetCompatibility = JavaVersion . VERSION_17
93
93
}
94
94
95
95
shadowJar {
You can’t perform that action at this time.
0 commit comments