multi-release-jar and refactor
This commit is contained in:
13
build.gradle
13
build.gradle
@@ -1,5 +1,6 @@
|
||||
plugins {
|
||||
id 'maven-publish'
|
||||
id 'net.woggioni.plugins.multi-release-jar'
|
||||
id 'net.woggioni.gradle.lombok' apply false
|
||||
}
|
||||
|
||||
@@ -37,20 +38,12 @@ dependencies {
|
||||
}
|
||||
|
||||
java {
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
withJavadocJar()
|
||||
withSourcesJar()
|
||||
}
|
||||
|
||||
jar {
|
||||
manifest{
|
||||
attributes([
|
||||
"Automatic-Module-Name": "net.woggioni.jwo"
|
||||
])
|
||||
}
|
||||
}
|
||||
|
||||
TaskProvider<Zip> pathClassLoaderTestBundleTask = tasks.register("pathClassLoaderTestBundle", Zip) {
|
||||
from(configurations.pathClassloaderTest)
|
||||
archiveBaseName = "pathClassLoaderTestBundle"
|
||||
|
Reference in New Issue
Block a user