diff --git a/j2cl-maven-plugin/src/it/elemental2-project/pom.xml b/j2cl-maven-plugin/src/it/elemental2-project/pom.xml index c79480d3..3baefba0 100644 --- a/j2cl-maven-plugin/src/it/elemental2-project/pom.xml +++ b/j2cl-maven-plugin/src/it/elemental2-project/pom.xml @@ -7,7 +7,7 @@ 1.0 - 1.1.0 + 1.2.1 diff --git a/j2cl-tasks/src/main/java/com/vertispan/j2cl/build/provided/ClosureBundleTask.java b/j2cl-tasks/src/main/java/com/vertispan/j2cl/build/provided/ClosureBundleTask.java index 5b4a3c4e..a951891e 100644 --- a/j2cl-tasks/src/main/java/com/vertispan/j2cl/build/provided/ClosureBundleTask.java +++ b/j2cl-tasks/src/main/java/com/vertispan/j2cl/build/provided/ClosureBundleTask.java @@ -241,7 +241,7 @@ public Task resolve(Project project, Config config) { public interface SourceSupplier { String get() throws IOException; } - public static class DependencyInfoAndSource extends DependencyInfo.Base { + public static class DependencyInfoAndSource implements DependencyInfo { private final DependencyInfo delegate; private final SourceSupplier sourceSupplier; @@ -290,11 +290,6 @@ public ImmutableMap getLoadFlags() { return delegate.getLoadFlags(); } - @Override - public boolean isModule() { - return delegate.isModule(); - } - @Override public boolean isEs6Module() { return delegate.isEs6Module(); @@ -316,7 +311,7 @@ public boolean getHasNoCompileAnnotation() { } } - public static class DependencyInfoFormat extends DependencyInfo.Base { + public static class DependencyInfoFormat implements DependencyInfo { private String name; // private String pathRelativeToClosureBase = name; private List provides; diff --git a/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/GwtIncompatiblePreprocessor.java b/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/GwtIncompatiblePreprocessor.java index 654af228..4bcc709b 100644 --- a/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/GwtIncompatiblePreprocessor.java +++ b/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/GwtIncompatiblePreprocessor.java @@ -29,7 +29,7 @@ public void preprocess(List unprocessedFiles) { Problems problems = new Problems(); try (OutputUtils.Output output = OutputUtils.initOutput(outputDirectory.toPath(), problems)) { - GwtIncompatibleStripper.preprocessFiles(unprocessedFiles, output, problems); + GwtIncompatibleStripper.preprocessFiles(unprocessedFiles, output, problems, "GwtIncompatible"); if (problems.hasErrors()) { throw new IllegalStateException(problems.getErrors().toString()); diff --git a/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/J2cl.java b/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/J2cl.java index aa9678c0..77161b52 100644 --- a/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/J2cl.java +++ b/j2cl-tasks/src/main/java/com/vertispan/j2cl/tools/J2cl.java @@ -46,9 +46,9 @@ public boolean transpile(List sourcesToCompile, List1.6 - 0.11.0-9336533b6 - v20221102-1 + v20230718-1 + v20230411-1 1.11 2.7 @@ -115,7 +115,7 @@ 9.4.43.v20210629 - 1.0.0-1 + 1.0.1-1 UTF-8