Fix OSGi export error in build.gradle

This commit is contained in:
hedgecrw85 2020-04-02 18:16:26 -05:00
parent db08686f07
commit c55105ac8b
1 changed files with 4 additions and 2 deletions

View File

@ -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.',