diff --git a/build.gradle b/build.gradle index aba054b..67cf773 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,5 @@ plugins { id 'net.fabricmc.fabric-loom-remap' version "${loom_version}" - id 'maven-publish' } version = project.mod_version @@ -65,20 +64,6 @@ jar { } } -// configure the maven publication -publishing { - publications { - create("mavenJava", MavenPublication) { - artifactId = project.archives_base_name - 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. - } +remapJar { + archiveFileName.set("${project.archives_base_name}-${project.minecraft_version}-${project.mod_version}.jar") } \ No newline at end of file