gradle-9.1.0 and loom-1.11

This commit is contained in:
Crystal0404 authored and gnembon committed 2025-10-14 22:18:43 +02:00
1 parent 9d4babdf59
commit ce6664af28
6 files changed
+49 -37

No files matched your search

+8 -6
View File
@@ -1,13 +1,12 @@
plugins {
id 'fabric-loom' version '1.9-SNAPSHOT'
id 'io.github.juuxel.loom-quiltflower' version '1.7.3'
id 'fabric-loom' version '1.11-SNAPSHOT'
id 'maven-publish'
}
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
base {
archivesName = project.archives_base_name
}
archivesBaseName = project.archives_base_name
version = project.minecraft_version+'-'+project.mod_version+'+v'+new Date().format('yyMMdd')
group = project.maven_group
@@ -56,11 +55,14 @@ java {
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
jar {
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}"}
rename { "${it}_${project.archives_base_name}"}
}
}