version update and improved MultiVersionJarPlugin

This commit is contained in:
2022-06-27 00:14:41 +08:00
parent 3daab40e88
commit f034027abc
16 changed files with 181 additions and 141 deletions

View File

@@ -2,17 +2,10 @@ plugins {
id "java-gradle-plugin"
}
version = "0.1"
childProjects.forEach {name, child ->
child.with {
apply plugin: 'maven-publish'
compileJava {
options.release = 8
options.compilerArgs << '-parameters'
}
publishing {
repositories {
maven {
@@ -51,11 +44,6 @@ dependencies {
}
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
jar {
into("META-INF") {
from(configurations.embedded)

View File

@@ -3,7 +3,6 @@ plugins {
}
group = "net.woggioni.osgi"
version = "0.1"
dependencies {
compileOnly group: 'org.osgi', name: 'osgi.annotation', version: getProperty('version.osgi')

View File

@@ -4,7 +4,6 @@ plugins {
}
group = "net.woggioni.osgi"
version = "0.1"
dependencies {
compileOnly group: 'org.osgi', name: 'osgi.annotation', version: getProperty('version.osgi')

View File

@@ -3,7 +3,6 @@ plugins {
}
group = "net.woggioni.osgi"
version = "0.1"
configurations {
tar {