Fix OSGi export error in build.gradle
This commit is contained in:
parent
db08686f07
commit
c55105ac8b
|
@ -83,15 +83,17 @@ compileModuleInfoJava {
|
||||||
jar {
|
jar {
|
||||||
from sourceSets.main.output
|
from sourceSets.main.output
|
||||||
from sourceSets.moduleInfo.output
|
from sourceSets.moduleInfo.output
|
||||||
|
classpath = files()
|
||||||
|
|
||||||
bnd (
|
bnd (
|
||||||
'Export-Package': 'com.fazecast.jSerialComm;version="' + version + '"',
|
'-exportcontents': 'com.fazecast.jSerialComm;version="' + version + '"',
|
||||||
|
'Bundle-Name': 'jSerialComm',
|
||||||
'Bundle-SymbolicName': 'com.fazecast.jSerialComm',
|
'Bundle-SymbolicName': 'com.fazecast.jSerialComm',
|
||||||
'Bundle-Description': 'Java Serial Communications Library',
|
'Bundle-Description': 'Java Serial Communications Library',
|
||||||
'Bundle-Vendor': 'Fazecast, Inc.',
|
'Bundle-Vendor': 'Fazecast, Inc.',
|
||||||
'Require-Capability': 'osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"',
|
'Require-Capability': 'osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.6))"',
|
||||||
'Implementation-Title': 'jSerialComm: Java Serial Communications Library',
|
'Implementation-Title': 'jSerialComm: Java Serial Communications Library',
|
||||||
'Implementation-Version': version,
|
'Implementation-Version': version,
|
||||||
'Implementation-Vendor': 'Fazecast, Inc.',
|
'Implementation-Vendor': 'Fazecast, Inc.',
|
||||||
'Sealed': 'true'
|
'Sealed': 'true'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue