User: rednesto Date: 21 Jan 24 17:15 Revision: c02e6ae3e5388d2c3bc1d7047fd8b12be3d868c2 Summary: Fix #2208 TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=9017&personal=false Index: src/main/kotlin/platform/fabric/creator/gradle-steps.kt =================================================================== --- src/main/kotlin/platform/fabric/creator/gradle-steps.kt (revision 88db0318dcf70f7ee98a0759bebb1bb8b328664b) +++ src/main/kotlin/platform/fabric/creator/gradle-steps.kt (revision c02e6ae3e5388d2c3bc1d7047fd8b12be3d868c2) @@ -57,7 +57,7 @@ val mcVersion = data.getUserData(FabricVersionChainStep.MC_VERSION_KEY) ?: return val yarnVersion = data.getUserData(FabricVersionChainStep.YARN_VERSION_KEY) ?: return val loaderVersion = data.getUserData(FabricVersionChainStep.LOADER_VERSION_KEY) ?: return - val loomVersion = "1.4-SNAPSHOT" + val loomVersion = "1.5-SNAPSHOT" val javaVersion = findStep().preferredJdk.ordinal val apiVersion = data.getUserData(FabricVersionChainStep.API_VERSION_KEY) val officialMappings = data.getUserData(FabricVersionChainStep.OFFICIAL_MAPPINGS_KEY) ?: false Index: src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.ft =================================================================== --- src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.ft (revision 88db0318dcf70f7ee98a0759bebb1bb8b328664b) +++ src/main/resources/fileTemplates/j2ee/fabric/fabric_build.gradle.ft (revision c02e6ae3e5388d2c3bc1d7047fd8b12be3d868c2) @@ -6,6 +6,10 @@ version = project.mod_version group = project.maven_group +base { + archivesName = project.archives_base_name +} + repositories { // Add repositories to retrieve artifacts from in here. // You should only use this when depending on other mods because @@ -60,7 +64,6 @@ if (JavaVersion.current() < javaVersion) { toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion) } - archivesBaseName = project.archives_base_name // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task // if it is present. // If you remove this line, sources will not be generated.