Fix OSGi export error in build.gradle
This commit is contained in:
parent
db08686f07
commit
c55105ac8b
|
@ -83,9 +83,11 @@ 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.',
|
||||||
|
|
Loading…
Reference in New Issue