added osgi-app plugin

This commit is contained in:
2021-10-30 19:29:37 +02:00
parent a39f2c21fb
commit 64ca4940c6
42 changed files with 1498 additions and 1138 deletions

View File

@@ -1,13 +1,12 @@
subprojects {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
repositories {
maven {
url = woggioniMavenRepositoryUrl
}
mavenCentral()
}
group = "net.woggioni.gradle"
dependencies {
['compileOnly', 'annotationProcessor', 'testCompileOnly', 'testAnnotationProcessor'].each { conf ->
@@ -23,19 +22,18 @@ subprojects {
}
}
childProjects.forEach { name, project ->
project.with {
childProjects.forEach { name, child ->
child.with {
apply plugin: 'maven-publish'
group = "net.woggioni.gradle"
publishing {
repositories {
maven {
url = woggioniMavenRepositoryUrl
}
}
publications {
maven(MavenPublication) {
from(components["java"])
}
}
}
}
}