diff options
Diffstat (limited to 'Fabric/build.gradle')
| -rw-r--r-- | Fabric/build.gradle | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/Fabric/build.gradle b/Fabric/build.gradle index 74fbc41..d54555f 100644 --- a/Fabric/build.gradle +++ b/Fabric/build.gradle @@ -40,7 +40,7 @@ processResources { } tasks.withType(JavaCompile).configureEach { - it.options.release = 21 + it.options.release = 25 } java { @@ -49,8 +49,8 @@ java { // If you remove this line, sources will not be generated. withSourcesJar() - sourceCompatibility = JavaVersion.VERSION_21 - targetCompatibility = JavaVersion.VERSION_21 + sourceCompatibility = JavaVersion.VERSION_25 + targetCompatibility = JavaVersion.VERSION_25 } jar { @@ -68,20 +68,9 @@ curseforge { changelog = file('../CHANGELOG.md') mainArtifact(remapJar) - addGameVersion '1.21.11' - addGameVersion '1.21.10' - addGameVersion '1.21.9' - addGameVersion '1.21.8' - addGameVersion '1.21.7' - addGameVersion '1.21.6' - addGameVersion '1.21.5' - addGameVersion '1.21.4' - addGameVersion '1.21.3' - addGameVersion '1.21.2' - addGameVersion '1.21.1' - addGameVersion '1.21' + addGameVersion project.minecraft_version addGameVersion 'Fabric' - addGameVersion 'Java 21' + addGameVersion 'Java 25' relations { requiredDependency 'fabric-api' @@ -98,18 +87,7 @@ modrinth { changelog = rootProject.file("../CHANGELOG.md").text uploadFile = remapJar gameVersions = [ - '1.21.11', - '1.21.10', - '1.21.9', - '1.21.8', - '1.21.7', - '1.21.6', - '1.21.5', - '1.21.4', - '1.21.3', - '1.21.2', - '1.21.1', - '1.21' + project.minecraft_version ] loaders = [ 'fabric' ] |
