Skip to content

Commit

Permalink
Fixed j2cl compilation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
salmonb committed Mar 17, 2024
1 parent 0210bb6 commit f315cf6
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<skippedModules>webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt</skippedModules>
<skippedModules>webfx-kit-javafxweb-registry,webfx-kit-javafxweb-registry-gwt-j2cl,webfx-kit-javafxgraphics-fat-j2cl</skippedModules>
</configuration>
</plugin>
</plugins>
Expand Down
1 change: 1 addition & 0 deletions webfx-kit/webfx-kit-javafxbase-emul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

</dependencies>
Expand Down
4 changes: 3 additions & 1 deletion webfx-kit/webfx-kit-javafxcontrols-emul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,15 @@
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-platform-javatime-emul-j2cl</artifactId>
<version>${webfx.version}</version>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.javafxcontrols.peers.base {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.controls;
requires javafx.graphics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.javafxgraphics.openjfx {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.controls;
requires javafx.graphics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.javafxgraphics.peers.base {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.graphics;
requires webfx.kit.javafxgraphics.peers;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.javafxgraphics.peers {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.graphics;
requires webfx.platform.console;
Expand Down
1 change: 1 addition & 0 deletions webfx-kit/webfx-kit-javafxmedia-emul/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

// Direct dependencies modules
requires com.gluonhq.attach.storage;
requires java.base;
requires javafx.base;
requires webfx.platform.audio;
requires webfx.platform.console;
Expand Down
8 changes: 8 additions & 0 deletions webfx-kit/webfx-kit-javafxweb-registry-gwt-j2cl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@
<version>0.1.0-SNAPSHOT</version>
</dependency>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>

<dependency>
<groupId>dev.webfx</groupId>
<artifactId>webfx-platform-scheduler</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.launcher {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.graphics;
requires webfx.platform.boot;
Expand Down
1 change: 1 addition & 0 deletions webfx-kit/webfx-kit-statusbar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.statusbar {

// Direct dependencies modules
requires java.base;
requires javafx.graphics;
requires webfx.platform.util;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.util.scene {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires javafx.graphics;
requires webfx.kit.launcher;
Expand Down
1 change: 0 additions & 1 deletion webfx-kit/webfx-kit-util/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.util {

// Direct dependencies modules
requires java.base;
requires javafx.base;
requires transitive webfx.platform.util;

Expand Down
1 change: 1 addition & 0 deletions webfx-kit/webfx-kit-webgl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<artifactId>webfx-platform-javabase-emul-j2cl</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>runtime</scope>
<optional>true</optional>
</dependency>

<dependency>
Expand Down
1 change: 0 additions & 1 deletion webfx-kit/webfx-kit-webgl/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
module webfx.kit.webgl {

// Direct dependencies modules
requires java.base;
requires javafx.graphics;
requires javafx.media;
requires webfx.platform.typedarray;
Expand Down

0 comments on commit f315cf6

Please sign in to comment.