mirror of
https://github.com/HMCore/Core.git
synced 2025-12-10 21:06:19 +00:00
Update build.gradle
This commit is contained in:
22
build.gradle
22
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user