aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2026-03-16 22:14:20 +0100
committerAnhgelus Morhtuuzh <william@herges.fr>2026-03-17 18:04:07 +0100
commit97be59a7b6b990e8a68b69424904ed465a1faabe (patch)
tree8d2b3e03cd2d065f12f465979093daa4d75504a4 /build.gradle
parentc7e7f82a957b15979ed3f9e52d195850be179f88 (diff)
feat(): support 26.1
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 6 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index d34a196..f453021 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
plugins {
- id 'fabric-loom' version '1.15-SNAPSHOT'
+ id 'net.fabricmc.fabric-loom' version '1.15-SNAPSHOT'
id 'maven-publish'
}
@@ -32,11 +32,10 @@ repositories {
dependencies {
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
- mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
- modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
+ implementation "net.fabricmc:fabric-loader:${project.loader_version}"
// Fabric API. This is technically optional, but you probably want it anyway.
- modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
+ implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
}
processResources {
@@ -53,15 +52,15 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
- it.options.release = 21
+ it.options.release = 25
it.options.encoding = "UTF-8"
}
java {
withSourcesJar()
- sourceCompatibility = JavaVersion.VERSION_21
- targetCompatibility = JavaVersion.VERSION_21
+ sourceCompatibility = JavaVersion.VERSION_25
+ targetCompatibility = JavaVersion.VERSION_25
}
jar {