Skip to content

Commit

Permalink
release 0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
treblereel committed Aug 30, 2023
1 parent 21684cc commit 938f8ff
Show file tree
Hide file tree
Showing 23 changed files with 50 additions and 64 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ It contains the following features:
});
```

* *@TranslationBundle* j2cl-maven-plugin 0.21-SNAPSHOT brings us support of Closure's `.xtb` translation bundles that are a very effective way to translate your application.
* Note: at the moment, `.xtb` support is only available for j2cl-maven-plugin 0.21-SNAPSHOT and above and works only in ADVANCED mode, otherwise default values will be used.
* *@TranslationBundle* j2cl-maven-plugin 0.21 brings us support of Closure's `.xtb` translation bundles that are a very effective way to translate your application.
* Note: at the moment, `.xtb` support is only available for j2cl-maven-plugin 0.21 and above and works only in ADVANCED mode, otherwise default values will be used.

To use `@TranslationBundle`, you need to do the following steps:

Expand Down Expand Up @@ -179,4 +179,4 @@ It contains the following features:
audio.controls = true;
```

Take a look at tests for more details.
Take a look at tests for more details.
4 changes: 2 additions & 2 deletions annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</parent>

<artifactId>annotations</artifactId>
Expand Down Expand Up @@ -75,4 +75,4 @@
</plugins>
</build>

</project>
</project>
4 changes: 2 additions & 2 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</parent>

<artifactId>common</artifactId>
Expand Down Expand Up @@ -75,4 +75,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,4 @@ public void inject() {
public interface Callback {
void accept(HTMLScriptElement script);
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>pom</packaging>

<name>GWT3 processors parent</name>
Expand Down
2 changes: 1 addition & 1 deletion processor/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<parent>
<artifactId>parent</artifactId>
<groupId>org.treblereel.j2cl.processors</groupId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>processors</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.treblereel.j2cl.processors</groupId>
<artifactId>parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</parent>

<artifactId>processors</artifactId>
Expand Down Expand Up @@ -151,4 +151,4 @@
</plugins>
</build>

</project>
</project>
6 changes: 3 additions & 3 deletions tests/commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>common-tests</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>

<name>Common test cases</name>
<description>Common test cases</description>
Expand All @@ -24,7 +24,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -137,4 +137,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ public void accept(HTMLScriptElement htmlScriptElement) {
.setWindow(ScriptInjector.TOP_WINDOW)
.inject();
}
}
}
6 changes: 3 additions & 3 deletions tests/entrypoint/jstype/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>entrypoint-jstype-tests</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>

<name>GWT3 Entry Point Tests for @JsType class</name>
<description>Test cases for the GWT3 Entry Point for @JsType class</description>
Expand All @@ -24,7 +24,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -152,4 +152,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.treblereel.j2cl.entrypoint;

import elemental2.dom.DomGlobal;
import elemental2.dom.HTMLButtonElement;
import jsinterop.annotations.JsType;
import jsinterop.base.Js;
import org.treblereel.j2cl.processors.annotations.GWT3EntryPoint;
Expand All @@ -11,12 +10,6 @@ public class App {

@GWT3EntryPoint
public void init() {
HTMLButtonElement btn = (HTMLButtonElement) DomGlobal.document.createElement("button");
btn.textContent = "PRESS ME !";
btn.addEventListener("click", evt -> DomGlobal.window.alert("HELLO WORLD!"));
DomGlobal.document.body.appendChild(btn);

DomGlobal.console.log("Hello");
Js.asPropertyMap(DomGlobal.window).set("started", true);
}
}
6 changes: 3 additions & 3 deletions tests/entrypoint/pojo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>entrypoint-pojo-tests</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>

<name>GWT3 Entry Point Tests for Pojo class</name>
<description>Test cases for the GWT3 Entry Point for Pojo class</description>
Expand All @@ -24,7 +24,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -153,4 +153,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
package org.treblereel.j2cl.entrypoint;

import elemental2.dom.DomGlobal;
import elemental2.dom.HTMLButtonElement;
import jsinterop.base.Js;
import org.treblereel.j2cl.processors.annotations.GWT3EntryPoint;

public class App {

@GWT3EntryPoint
public void init() {
HTMLButtonElement btn = (HTMLButtonElement) DomGlobal.document.createElement("button");
btn.textContent = "PRESS ME !";
btn.addEventListener("click", evt -> DomGlobal.window.alert("HELLO WORLD!"));
DomGlobal.document.body.appendChild(btn);

DomGlobal.console.log("Hello");
Js.asPropertyMap(DomGlobal.window).set("started", true);
}
}
4 changes: 2 additions & 2 deletions tests/entrypoint/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>entrypoint-tests</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>pom</packaging>

<name>GWT3 Entry Point Tests</name>
Expand All @@ -17,4 +17,4 @@
<module>jstype</module>
</modules>

</project>
</project>
8 changes: 4 additions & 4 deletions tests/es6shim/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<artifactId>es6shim-tests</artifactId>
<groupId>org.treblereel.j2cl</groupId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>jar</packaging>

<name>ES6SHIM Tests</name>
Expand All @@ -25,7 +25,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -101,7 +101,7 @@
<plugin>
<groupId>com.vertispan.j2cl</groupId>
<artifactId>j2cl-maven-plugin</artifactId>
<version>0.21-SNAPSHOT</version>
<version>${maven.j2cl.plugin}</version>
<configuration>
<compilationLevel>ADVANCED</compilationLevel>
<annotationProcessorMode>IGNORE_MAVEN</annotationProcessorMode>
Expand Down Expand Up @@ -134,4 +134,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
6 changes: 3 additions & 3 deletions tests/exports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>exports</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>jar</packaging>

<name>GWTExports Tests</name>
Expand All @@ -25,7 +25,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

<jsinterop.annotations.version>2.0.0</jsinterop.annotations.version>
Expand Down Expand Up @@ -130,4 +130,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
6 changes: 3 additions & 3 deletions tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>tests-parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>pom</packaging>

<name>GWT3 processors Tests</name>
Expand All @@ -19,7 +19,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.surefire.plugin.version>2.17</maven.surefire.plugin.version>
<maven.deploy.plugin.version>2.8.2</maven.deploy.plugin.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>
Expand Down Expand Up @@ -121,4 +121,4 @@
</plugins>
</build>

</project>
</project>
4 changes: 2 additions & 2 deletions tests/resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.treblereel.j2cl</groupId>
<artifactId>tests-parent</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
</parent>

<artifactId>resources</artifactId>
Expand Down Expand Up @@ -59,4 +59,4 @@
</plugins>
</build>

</project>
</project>
6 changes: 3 additions & 3 deletions tests/translation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>translation-default</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>jar</packaging>

<name>Translation Tests en</name>
Expand All @@ -25,7 +25,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -152,4 +152,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
6 changes: 3 additions & 3 deletions tests/translation/pom_fr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.treblereel.j2cl</groupId>
<artifactId>translation-fr</artifactId>
<version>0.6-SNAPSHOT</version>
<version>0.6</version>
<packaging>jar</packaging>

<name>Translation Tests fr</name>
Expand All @@ -25,7 +25,7 @@
<maven.surefire.plugin>3.1.0</maven.surefire.plugin>
<maven.source.plugin>3.0.1</maven.source.plugin>
<maven.license.plugin>3.0</maven.license.plugin>
<maven.j2cl.plugin>0.21-SNAPSHOT</maven.j2cl.plugin>
<maven.j2cl.plugin>0.21.0</maven.j2cl.plugin>
<maven.j2cl.version>0.11.0-9336533b6</maven.j2cl.version>
<maven.jasmine.plugin.version>3.0-beta-02</maven.jasmine.plugin.version>

Expand Down Expand Up @@ -152,4 +152,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Loading

0 comments on commit 938f8ff

Please sign in to comment.