mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-27 14:47:59 +01:00
5a9e353f2c
Quoting Jens Offenbach: "The header entry [sun.* in Import-Package] MUST be removed because its a native package and not exported by the OSGi framework. The bundle cannot be resolved. It is up to the OSGi framework deployer to declare this package as beeing "bootdelegated". This tells the classloader of the bundle to delegate a corresponding package request to the installed JRE. Only remove this entry and leave the "magic" of resolution to OSGi" SMACK-343
27 lines
No EOL
755 B
Groovy
27 lines
No EOL
755 B
Groovy
// 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
|
|
run Smack on Java 7 (or higher) JVMs. Usually you want to add additional
|
|
dependencies to smack-tcp, smack-extensions and smack-experimental."""
|
|
|
|
dependencies {
|
|
compile project(":smack-core")
|
|
compile project(":smack-resolver-javax")
|
|
compile project(":smack-sasl-javax")
|
|
}
|
|
|
|
javadoc {
|
|
enabled = false
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
instruction 'Import-Package', '!sun.security.*, *'
|
|
}
|
|
} |