Skip to content

Commit

Permalink
Set automatic module names to rhino.jar and rhino-engine.jar
Browse files Browse the repository at this point in the history
The name assigned to rhino.jar is the same as in the OSGi metadata (org.mozilla.rhino).

Closes issue #870.
  • Loading branch information
carlosame authored and gbrail committed Apr 26, 2021
1 parent f6252c2 commit 658273e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ task engineJar(type: Jar) {
"Implementation-URL": "http://www.mozilla.org/rhino",
"Built-Date": new Date().format("yyyy-MM-dd"),
"Built-Time": new Date().format("HH:mm:ss"),
"Automatic-Module-Name": "org.mozilla.rhino.engine"
)
}
}
Expand All @@ -186,6 +187,7 @@ jar {
"Implementation-URL": "http://www.mozilla.org/rhino",
"Built-Date": new Date().format("yyyy-MM-dd"),
"Built-Time": new Date().format("HH:mm:ss"),
"Automatic-Module-Name": "org.mozilla.rhino",
"Bundle-ManifestVersion": "2",
"Bundle-SymbolicName": "org.mozilla.rhino",
"Bundle-Version": project.version.replaceAll("-.*", ""),
Expand Down

0 comments on commit 658273e

Please sign in to comment.