From 40603af0400afda26ed9610d4055a10383c1dea8 Mon Sep 17 00:00:00 2001 From: Waterdev <30842467+UnrealValentin@users.noreply.github.com> Date: Mon, 10 May 2021 17:55:56 +0200 Subject: [PATCH] Update build.gradle --- build.gradle | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f0f13b9..fb41696 100644 --- a/build.gradle +++ b/build.gradle @@ -6,11 +6,25 @@ plugins { } group 'com.github.HMCore' -version '1.0-SNAPSHOT' +version '1.1-SNAPSHOT' java { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 + withJavadocJar() + withSourcesJar() +} + +publishing { + publications { + maven(MavenPublication) { + groupId = 'com.github.HMCore' + artifactId = 'Core' + version = '1.1' + + from components.java + } + } } repositories { @@ -30,3 +44,9 @@ dependencies { test { useJUnitPlatform() } + +javadoc { + if(JavaVersion.current().isJava9Compatible()) { + options.addBooleanOption('html5', true) + } +}