move to 1.21 and fix for nixos

This commit is contained in:
MeexReay 2025-06-14 03:02:04 +03:00
parent c02d96edca
commit 61c755aabc
8 changed files with 64 additions and 15 deletions

View file

@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'fabric-loom' version "${loom_version}"
id 'maven-publish'
}
@ -19,8 +19,8 @@ repositories {
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
compileOnly 'org.projectlombok:lombok:1.18.38'
annotationProcessor 'org.projectlombok:lombok:1.18.38'
//add joml
modImplementation 'org.joml:joml:1.10.4'
@ -45,7 +45,7 @@ processResources {
}
tasks.withType(JavaCompile).configureEach {
it.options.release = 17
it.options.release = 21
}
java {
@ -54,8 +54,8 @@ java {
// If you remove this line, sources will not be generated.
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
jar {