added JPMS support
This commit is contained in:
38
build.gradle
38
build.gradle
@@ -1,40 +1,46 @@
|
||||
plugins {
|
||||
id 'java-library'
|
||||
id 'maven-publish'
|
||||
id 'net.woggioni.gradle.lombok'
|
||||
id 'net.woggioni.gradle.lombok' apply false
|
||||
id "net.woggioni.gradle.multi-release-jar"
|
||||
}
|
||||
|
||||
group = "net.woggioni"
|
||||
version = getProperty("jzstd.version")
|
||||
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'net.woggioni.gradle.lombok'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://woggioni.net/mvn/'
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
lombok {
|
||||
version = getProperty('lombok.version')
|
||||
}
|
||||
|
||||
dependencies {
|
||||
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter-engine", version: property("junit.version")
|
||||
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-api", version: property("junit.version")
|
||||
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-params", version: property("junit.version")
|
||||
}
|
||||
|
||||
tasks.withType(Test) {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
lombok {
|
||||
version = getProperty('lombok.version')
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
compileJava {
|
||||
options.release = 8
|
||||
options.compilerArgs << '-parameters'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation group: "net.java.dev.jna", name: "jna", version: getProperty("jna.version")
|
||||
|
||||
testRuntimeOnly group: "org.junit.jupiter", name: "junit-jupiter-engine", version: getProperty("junit.version")
|
||||
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-api", version: getProperty("junit.version")
|
||||
testImplementation group: "org.junit.jupiter", name: "junit-jupiter-params", version: getProperty("junit.version")
|
||||
}
|
||||
|
||||
tasks.withType(Test) {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
wrapper {
|
||||
|
Reference in New Issue
Block a user