From a748f3f9580e354d4bc16db761be6e61eb1ed316 Mon Sep 17 00:00:00 2001 From: Alexander01998 Date: Thu, 30 May 2024 09:03:57 +0200 Subject: [PATCH] Update Fabric stuff --- build.gradle | 24 +++--------------------- gradle.properties | 4 ++-- 2 files changed, 5 insertions(+), 23 deletions(-) diff --git a/build.gradle b/build.gradle index f09b401d..0b10ef1a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,12 @@ buildscript { dependencies { - classpath 'org.kohsuke:github-api:1.321' + classpath "org.kohsuke:github-api:1.321" } } plugins { - id 'fabric-loom' version '1.6-SNAPSHOT' - id 'maven-publish' - id 'com.diffplug.spotless' version '6.25.0' + id "fabric-loom" version "1.6-SNAPSHOT" + id "com.diffplug.spotless" version "6.25.0" } def ENV = System.getenv() @@ -85,23 +84,6 @@ spotless { } } -// configure the maven publication -publishing { - publications { - create("mavenJava", MavenPublication) { - from components.java - } - } - - // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. - repositories { - // Add repositories to publish to here. - // Notice: This block does NOT have the same function as the block in the top level. - // The repositories here will be used for publishing your artifact, not for - // retrieving dependencies. - } -} - task moveDevLibs(dependsOn: [remapJar, remapSourcesJar]) { doLast { ant.move(file:"${project.buildDir}/devlibs/${archivesBaseName}-${version}-dev.jar", tofile:"${project.buildDir}/libs/${archivesBaseName}-${version}-dev.jar") diff --git a/gradle.properties b/gradle.properties index e96a998e..ab05e9db 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,11 +6,11 @@ org.gradle.parallel=true # check these at https://fabricmc.net/develop/ and # https://modrinth.com/mod/fabric-api/versions minecraft_version=1.20.6 -yarn_mappings=1.20.6+build.1 +yarn_mappings=1.20.6+build.3 loader_version=0.15.11 # Fabric API -fabric_version=0.98.0+1.20.6 +fabric_version=0.99.0+1.20.6 # Mod Properties mod_version = v7.43pre2-MC1.20.6