Drop OSGi support

staleness
Florian Schmaus 4 years ago
parent 083dac8b83
commit d06f533bb9
  1. 1
      build.gradle
  2. 11
      smack-core/build.gradle
  3. 12
      smack-java7/build.gradle
  4. 5
      smack-omemo-signal/build.gradle
  5. 6
      smack-omemo/build.gradle

@ -333,7 +333,6 @@ ${oneLineDesc}."""
evaluationDependsOnChildren()
subprojects {
apply plugin: 'maven'
apply plugin: 'osgi'
apply plugin: 'signing'
apply plugin: 'checkstyle'
apply plugin: 'org.kordamp.gradle.clirr'

@ -1,8 +1,3 @@
// Note that this is also declared in the main build.gradle for
// subprojects, but since evaluationDependsOnChildren is enabled we
// need to declare it here too
apply plugin: 'osgi'
description = """\
Smack core components."""
@ -47,9 +42,3 @@ task createVersionResource(type: CreateFileTask) {
}
compileJava.dependsOn(createVersionResource)
jar {
manifest {
instruction 'DynamicImport-Package', '*'
}
}

@ -1,9 +1,3 @@
// Although the osgi plugin is already applied by the root project's
// subprojects closure, we need to re-apply it here so that the
// manifest is a OsgiManifest. Possible caused by
// evaluationDependsOnChildren in the root project.
apply plugin: 'osgi'
description = """\
Smack for Java7 (or higher).
This is a pseudo-artifact that pulls all the required dependencies to
@ -19,9 +13,3 @@ dependencies {
javadoc {
enabled = false
}
jar {
manifest {
instruction 'Import-Package', '!sun.security.*, *'
}
}

@ -1,8 +1,3 @@
// Although the osgi plugin is already applied by the root project's
// subprojects closure, we need to re-apply it here so that the
// manifest is a OsgiManifest. Possible caused by
// evaluationDependsOnChildren in the root project.
apply plugin: 'osgi'
apply plugin: 'checkstyle'
apply plugin: 'maven'

@ -1,9 +1,3 @@
// Although the osgi plugin is already applied by the root project's
// subprojects closure, we need to re-apply it here so that the
// manifest is a OsgiManifest. Possible caused by
// evaluationDependsOnChildren in the root project.
apply plugin: 'osgi'
dependencies {
compile project(":smack-im")
compile project(":smack-extensions")

Loading…
Cancel
Save