-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into main
- Loading branch information
Showing
96 changed files
with
4,203 additions
and
1,707 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,25 +23,37 @@ | |
!jdk.vm.ci.services | ||
</bnd.importpackage> | ||
<!-- Remember to check if the fix https://github.com/openhab/openhab-core/pull/4437 still works when upgrading GraalJS --> | ||
<graal.version>22.0.0.2</graal.version> <!-- DO NOT UPGRADE: 22.0.0.2 is the latest version working on armv7l / OpenJDK 11.0.16 & armv7l / Zulu 17.0.5+8 --> | ||
<graaljs.version>24.1.1</graaljs.version> | ||
<oh.version>${project.version}</oh.version> | ||
<ohjs.version>[email protected]</ohjs.version> | ||
</properties> | ||
|
||
<build> | ||
<plugins> | ||
<!-- exclude META-INF/services/com.oracle.truffle.api.TruffleLanguage$Provider when unpacking dependencies --> | ||
<!-- bundle the modular dependencies into an uber-JAR --> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-dependency-plugin</artifactId> | ||
<artifactId>maven-shade-plugin</artifactId> | ||
<version>3.6.0</version> | ||
<executions> | ||
<execution> | ||
<id>embed-dependencies</id> | ||
<phase>package</phase> | ||
<goals> | ||
<goal>unpack-dependencies</goal> | ||
<goal>shade</goal> | ||
</goals> | ||
<configuration> | ||
<excludes>META-INF/services/com.oracle.truffle.api.TruffleLanguage$Provider</excludes> <!-- we'll provide this --> | ||
<artifactSet> | ||
<excludes> | ||
<exclude>org.lastnpe.eea:eea-all</exclude> | ||
<exclude>org.apache.karaf.features:framework</exclude> | ||
</excludes> | ||
</artifactSet> | ||
<createDependencyReducedPom>false</createDependencyReducedPom> | ||
<transformers> | ||
<!-- Transformer to merge module-info.class files, if needed --> | ||
<transformer | ||
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/> | ||
</transformers> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
|
@@ -130,32 +142,29 @@ | |
|
||
<dependencies> | ||
<dependency> | ||
<groupId>org.graalvm.sdk</groupId> | ||
<artifactId>graal-sdk</artifactId> | ||
<version>${graal.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.graalvm.truffle</groupId> | ||
<artifactId>truffle-api</artifactId> | ||
<version>${graal.version}</version> | ||
<groupId>org.graalvm.polyglot</groupId> | ||
<artifactId>polyglot</artifactId> | ||
<version>${graaljs.version}</version> | ||
</dependency> | ||
<!-- Graal JavaScript ScriptEngine JSR 223 support --> | ||
<dependency> | ||
<groupId>org.graalvm.js</groupId> | ||
<artifactId>js-scriptengine</artifactId> | ||
<version>${graal.version}</version> | ||
<version>${graaljs.version}</version> | ||
</dependency> | ||
<!-- Graal TRegex engine (internally used by Graal JavaScript engine) --> | ||
<dependency> | ||
<groupId>org.graalvm.regex</groupId> | ||
<artifactId>regex</artifactId> | ||
<version>${graal.version}</version> | ||
<version>${graaljs.version}</version> | ||
</dependency> | ||
<!-- Graal JavaScript engine (depends on Graal TRegex engine, must be added after it) --> | ||
<dependency> | ||
<groupId>org.graalvm.js</groupId> | ||
<artifactId>js</artifactId> | ||
<version>${graal.version}</version> | ||
<groupId>org.graalvm.polyglot</groupId> | ||
<artifactId>js-community</artifactId> | ||
<version>${graaljs.version}</version> | ||
<type>pom</type> | ||
<scope>runtime</scope> | ||
</dependency> | ||
</dependencies> | ||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
...ting/src/main/resources/META-INF/services/com.oracle.truffle.api.TruffleLanguage$Provider
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.