From f1acf1356a32840c62d95eaf2914f0f300a186a6 Mon Sep 17 00:00:00 2001 From: SammySemicolon <69329424+SammySemicolon@users.noreply.github.com> Date: Tue, 5 Dec 2023 17:01:37 +0100 Subject: [PATCH] GRADLE SCRIPT WORKS ALSO BOYFRIEND IS HERE --- build.gradle.kts | 7 ++++++- gradle.properties | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 01d16f1d1..002ae8d2f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -216,11 +216,16 @@ tasks.withType { // exclude 'assets/malum/models/block/bbmodels/**' //} +java { + withJavadocJar() + withSourcesJar() +} + publishing { publications { register("mavenJava") { artifactId = baseArchivesName - artifact(tasks.jar.get()) + from(components["java"]) } } repositories { diff --git a/gradle.properties b/gradle.properties index 5c468ff5a..903914abc 100644 --- a/gradle.properties +++ b/gradle.properties @@ -35,6 +35,6 @@ modAuthors=Sammy Semicolon # The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list. modDescription=A dark magic mod focused on soul and spirit magic. # Mod Dependency Versions -lodestoneVersion=1.4.2.38 +lodestoneVersion=1.4.2.42 jeiVersion=15.2.0.22 curiosVersion=5.4.0+1.20.1 \ No newline at end of file