diff --git a/README.md b/README.md index 4bae5e1..ec48f56 100644 --- a/README.md +++ b/README.md @@ -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: @@ -179,4 +179,4 @@ It contains the following features: audio.controls = true; ``` -Take a look at tests for more details. \ No newline at end of file +Take a look at tests for more details. diff --git a/annotations/pom.xml b/annotations/pom.xml index 4171f59..b5268a4 100644 --- a/annotations/pom.xml +++ b/annotations/pom.xml @@ -4,7 +4,7 @@ org.treblereel.j2cl.processors parent - 0.6-SNAPSHOT + 0.6 annotations @@ -75,4 +75,4 @@ - \ No newline at end of file + diff --git a/common/pom.xml b/common/pom.xml index 63b9a6b..2c1b255 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -6,7 +6,7 @@ org.treblereel.j2cl.processors parent - 0.6-SNAPSHOT + 0.6 common @@ -75,4 +75,4 @@ - \ No newline at end of file + diff --git a/common/src/main/java/org/treblereel/j2cl/processors/common/injectors/ScriptInjector.java b/common/src/main/java/org/treblereel/j2cl/processors/common/injectors/ScriptInjector.java index f3259a9..f8830e4 100644 --- a/common/src/main/java/org/treblereel/j2cl/processors/common/injectors/ScriptInjector.java +++ b/common/src/main/java/org/treblereel/j2cl/processors/common/injectors/ScriptInjector.java @@ -95,4 +95,4 @@ public void inject() { public interface Callback { void accept(HTMLScriptElement script); } -} \ No newline at end of file +} diff --git a/pom.xml b/pom.xml index 452df5f..c0fec49 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.treblereel.j2cl.processors parent - 0.6-SNAPSHOT + 0.6 pom GWT3 processors parent diff --git a/processor/dependency-reduced-pom.xml b/processor/dependency-reduced-pom.xml index 79bfa06..c10d49c 100644 --- a/processor/dependency-reduced-pom.xml +++ b/processor/dependency-reduced-pom.xml @@ -3,7 +3,7 @@ parent org.treblereel.j2cl.processors - 0.6-SNAPSHOT + 0.6 4.0.0 processors diff --git a/processor/pom.xml b/processor/pom.xml index b091218..37293e9 100644 --- a/processor/pom.xml +++ b/processor/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl.processors parent - 0.6-SNAPSHOT + 0.6 processors @@ -151,4 +151,4 @@ - \ No newline at end of file + diff --git a/tests/commons/pom.xml b/tests/commons/pom.xml index 033baf2..b2dac8b 100644 --- a/tests/commons/pom.xml +++ b/tests/commons/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl common-tests - 0.6-SNAPSHOT + 0.6 Common test cases Common test cases @@ -24,7 +24,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -137,4 +137,4 @@ - \ No newline at end of file + diff --git a/tests/commons/src/test/java/org/treblereel/j2cl/commons/ScriptInjectorTest.java b/tests/commons/src/test/java/org/treblereel/j2cl/commons/ScriptInjectorTest.java index e3f7281..0ed3cbf 100644 --- a/tests/commons/src/test/java/org/treblereel/j2cl/commons/ScriptInjectorTest.java +++ b/tests/commons/src/test/java/org/treblereel/j2cl/commons/ScriptInjectorTest.java @@ -56,4 +56,4 @@ public void accept(HTMLScriptElement htmlScriptElement) { .setWindow(ScriptInjector.TOP_WINDOW) .inject(); } -} \ No newline at end of file +} diff --git a/tests/entrypoint/jstype/pom.xml b/tests/entrypoint/jstype/pom.xml index 15a6441..1286858 100644 --- a/tests/entrypoint/jstype/pom.xml +++ b/tests/entrypoint/jstype/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl entrypoint-jstype-tests - 0.6-SNAPSHOT + 0.6 GWT3 Entry Point Tests for @JsType class Test cases for the GWT3 Entry Point for @JsType class @@ -24,7 +24,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/tests/entrypoint/jstype/src/main/java/org/treblereel/j2cl/entrypoint/App.java b/tests/entrypoint/jstype/src/main/java/org/treblereel/j2cl/entrypoint/App.java index 08785ee..47c2383 100644 --- a/tests/entrypoint/jstype/src/main/java/org/treblereel/j2cl/entrypoint/App.java +++ b/tests/entrypoint/jstype/src/main/java/org/treblereel/j2cl/entrypoint/App.java @@ -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; @@ -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); } } diff --git a/tests/entrypoint/pojo/pom.xml b/tests/entrypoint/pojo/pom.xml index 384bb70..57f0230 100644 --- a/tests/entrypoint/pojo/pom.xml +++ b/tests/entrypoint/pojo/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl entrypoint-pojo-tests - 0.6-SNAPSHOT + 0.6 GWT3 Entry Point Tests for Pojo class Test cases for the GWT3 Entry Point for Pojo class @@ -24,7 +24,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -153,4 +153,4 @@ - \ No newline at end of file + diff --git a/tests/entrypoint/pojo/src/main/java/org/treblereel/j2cl/entrypoint/App.java b/tests/entrypoint/pojo/src/main/java/org/treblereel/j2cl/entrypoint/App.java index 1fb726e..5d4b5a8 100644 --- a/tests/entrypoint/pojo/src/main/java/org/treblereel/j2cl/entrypoint/App.java +++ b/tests/entrypoint/pojo/src/main/java/org/treblereel/j2cl/entrypoint/App.java @@ -1,7 +1,6 @@ package org.treblereel.j2cl.entrypoint; import elemental2.dom.DomGlobal; -import elemental2.dom.HTMLButtonElement; import jsinterop.base.Js; import org.treblereel.j2cl.processors.annotations.GWT3EntryPoint; @@ -9,12 +8,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); } } diff --git a/tests/entrypoint/pom.xml b/tests/entrypoint/pom.xml index 67d0848..d8f3472 100644 --- a/tests/entrypoint/pom.xml +++ b/tests/entrypoint/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl entrypoint-tests - 0.6-SNAPSHOT + 0.6 pom GWT3 Entry Point Tests @@ -17,4 +17,4 @@ jstype - \ No newline at end of file + diff --git a/tests/es6shim/pom.xml b/tests/es6shim/pom.xml index 2490d93..56ca1fc 100644 --- a/tests/es6shim/pom.xml +++ b/tests/es6shim/pom.xml @@ -5,7 +5,7 @@ es6shim-tests org.treblereel.j2cl - 0.6-SNAPSHOT + 0.6 jar ES6SHIM Tests @@ -25,7 +25,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -101,7 +101,7 @@ com.vertispan.j2cl j2cl-maven-plugin - 0.21-SNAPSHOT + ${maven.j2cl.plugin} ADVANCED IGNORE_MAVEN @@ -134,4 +134,4 @@ - \ No newline at end of file + diff --git a/tests/exports/pom.xml b/tests/exports/pom.xml index b14245a..2f7e180 100644 --- a/tests/exports/pom.xml +++ b/tests/exports/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl exports - 0.6-SNAPSHOT + 0.6 jar GWTExports Tests @@ -25,7 +25,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 3.0-beta-02 2.0.0 @@ -130,4 +130,4 @@ - \ No newline at end of file + diff --git a/tests/pom.xml b/tests/pom.xml index 3e7e3bd..968e599 100644 --- a/tests/pom.xml +++ b/tests/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl tests-parent - 0.6-SNAPSHOT + 0.6 pom GWT3 processors Tests @@ -19,7 +19,7 @@ 1.8 1.8 - 0.21-SNAPSHOT + 0.21.0 2.17 2.8.2 3.0-beta-02 @@ -121,4 +121,4 @@ - \ No newline at end of file + diff --git a/tests/resources/pom.xml b/tests/resources/pom.xml index 5f34fb5..0a9021d 100644 --- a/tests/resources/pom.xml +++ b/tests/resources/pom.xml @@ -6,7 +6,7 @@ org.treblereel.j2cl tests-parent - 0.6-SNAPSHOT + 0.6 resources @@ -59,4 +59,4 @@ - \ No newline at end of file + diff --git a/tests/translation/pom.xml b/tests/translation/pom.xml index 973b7ff..4918e23 100644 --- a/tests/translation/pom.xml +++ b/tests/translation/pom.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl translation-default - 0.6-SNAPSHOT + 0.6 jar Translation Tests en @@ -25,7 +25,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/tests/translation/pom_fr.xml b/tests/translation/pom_fr.xml index 25256da..fb0832a 100644 --- a/tests/translation/pom_fr.xml +++ b/tests/translation/pom_fr.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl translation-fr - 0.6-SNAPSHOT + 0.6 jar Translation Tests fr @@ -25,7 +25,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/tests/translation/pom_fr_nr.xml b/tests/translation/pom_fr_nr.xml index 463525d..d9dfc52 100644 --- a/tests/translation/pom_fr_nr.xml +++ b/tests/translation/pom_fr_nr.xml @@ -5,7 +5,7 @@ org.treblereel.j2cl translation-fr-nr - 0.6-SNAPSHOT + 0.6 jar Translation Tests fr-nr @@ -25,7 +25,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -152,4 +152,4 @@ - \ No newline at end of file + diff --git a/tests/translation/pom_no_bundle.xml b/tests/translation/pom_no_bundle.xml index 97b6f52..e4f8c5a 100644 --- a/tests/translation/pom_no_bundle.xml +++ b/tests/translation/pom_no_bundle.xml @@ -6,7 +6,7 @@ org.treblereel.j2cl tests-parent - 0.6-SNAPSHOT + 0.6 translation-no_bundle @@ -29,7 +29,7 @@ 3.1.0 3.0.1 3.0 - 0.21-SNAPSHOT + 0.21.0 0.11.0-9336533b6 3.0-beta-02 @@ -145,4 +145,4 @@ - \ No newline at end of file + diff --git a/utils/pom.xml b/utils/pom.xml index 2d48ba5..5bdc55b 100644 --- a/utils/pom.xml +++ b/utils/pom.xml @@ -5,7 +5,7 @@ parent org.treblereel.j2cl.processors - 0.6-SNAPSHOT + 0.6 4.0.0 @@ -73,4 +73,4 @@ - \ No newline at end of file +