Update build.gradle

This commit is contained in:
Waterdev
2021-05-10 17:55:56 +02:00
committed by GitHub
parent ce9374500c
commit 40603af040

View File

@@ -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)
}
}