From f876b4e2a8b5526874a2b201227fa7267409438a Mon Sep 17 00:00:00 2001 From: SrRapero720 Date: Fri, 25 Aug 2023 21:32:07 -0600 Subject: [PATCH] with sources and with java doc --- build.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle b/build.gradle index 29a963c2..5c095043 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,12 @@ base { archivesName = "${modid}" } sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 +/* JAVA CONFIG */ +java { + withSourcesJar() + withJavadocJar() +} + println "Gradle Java: ${JavaVersion.current()}" println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"