зеркало из https://github.com/mozilla/rhino.git
Add proper import package instructions in the OSGi manifest
This commit is contained in:
Родитель
0d8f573806
Коммит
743d21c4a6
|
@ -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"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче