From 00a216cd38422324b0f66b883f86e4051aafefe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A4seToatz?= Date: Fri, 7 Nov 2025 15:03:47 +0100 Subject: [PATCH] update build --- build.gradle | 38 ++++++++++++++++++++++++++++++++++++++ gradle.properties | 2 +- settings.gradle | 4 +--- 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index d0edfa3..8d44342 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,6 @@ plugins { id 'fabric-loom' version "${loom_version}" + id 'maven-publish' } version = project.library_version @@ -44,3 +45,40 @@ java { } withSourcesJar() } + +publishing { + publications { + create("mavenJava", MavenPublication) { + groupId = project.maven_group + artifactId = project.archives_base_name + version = project.version + from components.java + + pom { + name = "DACL" + description = "DumbassConfigLib is a config library used for my mods" + url = "https://modrinth.com/mod/dacl" + licenses { + license { + name = "The MIT License" + url = "https://opensource.org/licenses/MIT" + distribution = "repo" + } + } + developers { + developer { + id = "kasetoatz" + name = "KaseToatz" + email = "kasetoatz@kasetoatz.com" + } + } + } + } + } + + repositories { + maven { + url = uri("file:////192.168.1.100/Storage/Maven") + } + } +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 864a48c..8565a20 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,6 +5,6 @@ loom_version=1.13-SNAPSHOT library_version=1.0 maven_group=com.kasetoatz -archives_base_name=DACL +archives_base_name=dacl fabric_version=0.138.0+1.21.10 diff --git a/settings.gradle b/settings.gradle index f5d1956..2875cde 100644 --- a/settings.gradle +++ b/settings.gradle @@ -6,6 +6,4 @@ pluginManagement { } gradlePluginPortal() } -} - -rootProject.name = "dacl" \ No newline at end of file +} \ No newline at end of file