From cca39d893349372a3657356d3bfa3987863b966e Mon Sep 17 00:00:00 2001 From: Carlos Amengual Date: Sat, 24 Apr 2021 21:08:22 +0200 Subject: [PATCH] Set automatic module names to rhino.jar and rhino-engine.jar The name assigned to rhino.jar is the same as in the OSGi metadata (org.mozilla.rhino). Closes issue #870. --- build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.gradle b/build.gradle index d2a3dc52ea..cbd80a3810 100644 --- a/build.gradle +++ b/build.gradle @@ -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" ) } } @@ -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("-.*", ""),