File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' maven-publish'
2
2
apply plugin : ' fabric-loom'
3
- apply plugin : ' io.github.juuxel.loom-quiltflower'
4
3
apply plugin : ' com.replaymod.preprocess'
5
4
apply plugin : ' me.fallenbreath.yamlang'
6
5
@@ -47,7 +46,10 @@ remapJar {
47
46
remapperIsolation = true
48
47
}
49
48
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 ) {
51
53
sourceCompatibility = JavaVersion . VERSION_17
52
54
targetCompatibility = JavaVersion . VERSION_17
53
55
} else if (mcVersion >= 11700 ) {
@@ -100,7 +102,7 @@ tasks.withType(JavaCompile).configureEach {
100
102
java {
101
103
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
102
104
// 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 .
104
106
// withSourcesJar()
105
107
}
106
108
You can’t perform that action at this time.
0 commit comments