multi-release-jar and refactor

This commit is contained in:
2021-07-26 21:58:20 +02:00
parent c3ab8c3dd9
commit 99cbb09e58
46 changed files with 285 additions and 318 deletions

View File

@@ -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"