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'}"