Skip to content

Commit 7835066

Browse files
committed
build: remove an unused plugin
1 parent 47f1902 commit 7835066

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Diff for: common.gradle

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
apply plugin: 'maven-publish'
22
apply plugin: 'fabric-loom'
3-
apply plugin: 'io.github.juuxel.loom-quiltflower'
43
apply plugin: 'com.replaymod.preprocess'
54
apply plugin: 'me.fallenbreath.yamlang'
65

@@ -47,7 +46,10 @@ remapJar {
4746
remapperIsolation = true
4847
}
4948

50-
if (mcVersion >= 11800) {
49+
if (mcVersion >= 1_20_05) {
50+
sourceCompatibility = JavaVersion.VERSION_21
51+
targetCompatibility = JavaVersion.VERSION_21
52+
} else if (mcVersion >= 11800) {
5153
sourceCompatibility = JavaVersion.VERSION_17
5254
targetCompatibility = JavaVersion.VERSION_17
5355
} else if (mcVersion >= 11700) {
@@ -100,7 +102,7 @@ tasks.withType(JavaCompile).configureEach {
100102
java {
101103
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
102104
// if it is present.
103-
// If you remove this line, sources will not be generated.
105+
// With this line commented, sources jar will not be built.
104106
// withSourcesJar()
105107
}
106108

0 commit comments

Comments
 (0)