Skip to content

Commit

Permalink
Use the latest JScriptBox on Java 15+
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Feb 5, 2023
1 parent ec15646 commit 6d3862c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public static FormatterStep create(String version, Supplier<Map<String, ?>> prop
List<String> mavenCoordinates = new ArrayList<>();
mavenCoordinates.add(MAVEN_COORDINATE + version);
if (Jvm.version() >= 15) {
mavenCoordinates.add("com.diffplug.jscriptbox:jscriptbox:3.0.1");
mavenCoordinates.add(NASHORN_MAVEN_COORDINATE + NASHORN_VERSION);
}

Expand Down

0 comments on commit 6d3862c

Please sign in to comment.