From 40eceb6b380896c1712c5fd679cee8a224594ff7 Mon Sep 17 00:00:00 2001 From: 7cc5c4f330d47060 Date: Sat, 12 Oct 2024 23:36:09 -0400 Subject: [PATCH] Copy build file from chayapak --- build.gradle | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index 8673f11..af42abc 100644 --- a/build.gradle +++ b/build.gradle @@ -28,8 +28,6 @@ configurations { } dependencies { - implementation 'org.apache.commons:commons-text:1.10.0' // Use the version that best suits your project - // To change the versions see the gradle.properties file minecraft "com.mojang:minecraft:${project.minecraft_version}" mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" @@ -50,12 +48,6 @@ dependencies { // These are included in the Fabric API production distribution and allow you to update your mod to the latest modules at a later more convenient time. // modImplementation "net.fabricmc.fabric-api:fabric-api-deprecated:${project.fabric_version}" - - compileOnly 'org.projectlombok:lombok:1.18.28' - annotationProcessor 'org.projectlombok:lombok:1.18.28' - - testCompileOnly 'org.projectlombok:lombok:1.18.28' - testAnnotationProcessor 'org.projectlombok:lombok:1.18.28' } processResources { @@ -83,3 +75,20 @@ jar { rename { "${it}_${project.archivesBaseName}"} } } + +// configure the maven publication +publishing { + publications { + 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. + } +}