added version and JPMS module descriptor
This commit is contained in:
38
build.gradle
38
build.gradle
@@ -1,20 +1,34 @@
|
||||
plugins {
|
||||
id 'maven-publish'
|
||||
id 'net.woggioni.plugins.multi-release-jar'
|
||||
id 'net.woggioni.gradle.lombok'
|
||||
id 'net.woggioni.gradle.multi-release-jar'
|
||||
id 'net.woggioni.gradle.lombok' apply false
|
||||
}
|
||||
|
||||
group = "net.woggioni"
|
||||
ext {
|
||||
setProperty("jpms.module.name" , "net.woggioni.wdi")
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
url = 'https://woggioni.net/mvn'
|
||||
allprojects {
|
||||
apply plugin: 'net.woggioni.gradle.lombok'
|
||||
|
||||
group = "net.woggioni"
|
||||
version = getProperty("wdi.version")
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven {
|
||||
url = 'https://woggioni.net/mvn'
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
lombok {
|
||||
version = getProperty('lombok.version')
|
||||
lombok {
|
||||
version = getProperty('lombok.version')
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -35,10 +49,6 @@ compileTestJava {
|
||||
options.compilerArgs << '-parameters'
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
|
Reference in New Issue
Block a user