11plugins {
2- id ' fabric-loom' version " ${ loom_version} "
2+ id ' net.fabricmc. fabric-loom' version " ${ loom_version} "
33 id ' maven-publish'
44}
55
@@ -21,11 +21,10 @@ repositories {
2121dependencies {
2222 // To change the versions see the gradle.properties file
2323 minecraft " com.mojang:minecraft:${ project.minecraft_version} "
24- mappings " net.fabricmc:yarn:${ project.yarn_mappings} :v2"
25- modImplementation " net.fabricmc:fabric-loader:${ project.loader_version} "
24+ implementation " net.fabricmc:fabric-loader:${ project.loader_version} "
2625
2726 // Fabric API. This is technically optional, but you probably want it anyway.
28- modImplementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_version } "
27+ implementation " net.fabricmc.fabric-api:fabric-api:${ project.fabric_api_version } "
2928
3029}
3130
@@ -38,7 +37,7 @@ processResources {
3837}
3938
4039tasks. withType(JavaCompile ). configureEach {
41- it. options. release = 21
40+ it. options. release = 25
4241}
4342
4443java {
4746 // If you remove this line, sources will not be generated.
4847 withSourcesJar()
4948
50- sourceCompatibility = JavaVersion . VERSION_21
51- targetCompatibility = JavaVersion . VERSION_21
49+ sourceCompatibility = JavaVersion . VERSION_25
50+ targetCompatibility = JavaVersion . VERSION_25
5251}
5352
5453jar {
@@ -75,4 +74,4 @@ publishing {
7574 // The repositories here will be used for publishing your artifact, not for
7675 // retrieving dependencies.
7776 }
78- }
77+ }
0 commit comments