Add proper import package instructions in the OSGi manifest

This commit is contained in:
Markus Sunela 2022-01-24 20:18:14 +02:00 коммит произвёл Greg Brail
Родитель 0d8f573806
Коммит 743d21c4a6
1 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -177,7 +177,8 @@ task runtimeJar(type: Jar) {
"Bundle-ManifestVersion": "2",
"Bundle-SymbolicName": "org.mozilla.rhino-runtime",
"Bundle-Version": project.version.replaceAll("-.*", ""),
"Export-Package": "org.mozilla.javascript,org.mozilla.javascript.ast,org.mozilla.javascript.annotations"
"Export-Package": "org.mozilla.javascript,org.mozilla.javascript.ast,org.mozilla.javascript.annotations",
"Import-Package": "javax.lang.model,javax.script"
)
}
}
@ -230,7 +231,8 @@ jar {
"Bundle-ManifestVersion": "2",
"Bundle-SymbolicName": "org.mozilla.rhino",
"Bundle-Version": project.version.replaceAll("-.*", ""),
"Export-Package": "org.mozilla.javascript,org.mozilla.javascript.ast,org.mozilla.javascript.annotations"
"Export-Package": "org.mozilla.javascript,org.mozilla.javascript.ast,org.mozilla.javascript.annotations",
"Import-Package": "javax.lang.model,javax.script"
)
}
}