Skip to content

Commit

Permalink
Use new group for GWT plugin; update version.
Browse files Browse the repository at this point in the history
Thanks, SimonIT!
  • Loading branch information
tommyettinger committed Oct 5, 2023
1 parent 96ab488 commit 0310cce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class GlobalActionContainer : ActionContainer {
fun getDefaultRoboVMVersion(): String = "2.3.19"

@LmlAction("gwtPluginVersion")
fun getDefaultGwtPluginVersion(): String = "1.1.19"
fun getDefaultGwtPluginVersion(): String = "1.1.29"

@LmlAction("close")
fun noOp() {
Expand Down
6 changes: 3 additions & 3 deletions src/main/kotlin/gdx/liftoff/data/platforms/GWT.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class GWT : Platform {
override fun createGradleFile(project: Project): GradleFile = GWTGradleFile(project)

override fun initiate(project: Project) {
project.rootGradle.buildDependencies.add("\"org.wisepersist:gwt-gradle-plugin:\$gwtPluginVersion\"")
project.rootGradle.buildDependencies.add("\"org.docstr:gwt-gradle-plugin:\$gwtPluginVersion\"")

addGradleTaskDescription(project, "superDev", "compiles GWT sources and runs the application in SuperDev mode. It will be available at [localhost:8080/$id](http://localhost:8080/$id). Use only during development.")
addGradleTaskDescription(project, "dist", "compiles GWT sources. The compiled application can be found at `$id/build/dist`: you can use any HTTP server to deploy it.")
Expand Down Expand Up @@ -204,15 +204,15 @@ gwt {
compiler.strict = true
compiler.disableCastChecking = true
//// The next line can be useful to uncomment if you want output that hasn't been obfuscated.
// compiler.style = org.wisepersist.gradle.plugins.gwt.Style.DETAILED
// compiler.style = org.docstr.gradle.plugins.gwt.Style.DETAILED
${if (project.advanced.gwtVersion == "2.10.0") "\n sourceLevel = 1.11\n" else ""}}
dependencies {
${joinDependencies(dependencies)}
}
import org.akhikhl.gretty.AppBeforeIntegrationTestTask
import org.wisepersist.gradle.plugins.gwt.GwtSuperDev
import org.docstr.gradle.plugins.gwt.GwtSuperDev
gretty.httpPort = 8080
// The line below will need to be changed only if you change the build directory to something other than "build".
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/i18n/nls.properties
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ gdxVersionTip=Version of the official libGDX libraries. The latest release was {
gwtVersion=GWT version:
gwtVersionTip=Version of GWT libraries. Should match version used to build the GWT backend. Defaults to 2.10.0, using a special backend. Other versions are NOT guaranteed to work out of the box due to API changes. Pre-1.9.5 libGDX uses GWT 2.6.1, 1.9.5 to 1.9.8 used 2.8.0, 1.9.9 up use 2.8.2 unless they have an alternate backend.
gwtPlugin=GWT plugin version:
gwtPluginTip=Version of the Gradle plugin for GWT applications; 1.1.19 is the current default.
gwtPluginTip=Version of the Gradle plugin for GWT applications; 1.1.29 is the current default.
sdkVersion=Target Android API:
sdkVersionTip=Version of the targeted Android API; should be at least 30.
androidPluginVersion=Android plugin:
Expand Down

0 comments on commit 0310cce

Please sign in to comment.