Skip to content

Commit

Permalink
Update to newest GWT Gradle plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
tommyettinger committed Oct 6, 2023
1 parent 36aeb61 commit be5c39b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SquidSquad/DawnSquad/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath "com.android.tools.build:gradle:$androidPluginVersion"
classpath "org.wisepersist:gwt-gradle-plugin:$gwtPluginVersion"
classpath "org.docstr:gwt-gradle-plugin:$gwtPluginVersion"
classpath 'com.guardsquare:proguard-gradle:7.3.2'
}
}
Expand Down
2 changes: 1 addition & 1 deletion SquidSquad/DawnSquad/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ gdxBackendsVersion=1.1200.1
graalHelperVersion=c82cf80440
graalvmVersion=22.3.1
gwtFrameworkVersion=2.10.0
gwtPluginVersion=1.1.19
digitalVersion=0.4.0
juniperVersion=0.3.9
jdkgdxdsVersion=1.4.1
freetypeGwtVersion=1.9.10.1
regexodusVersion=0.1.15
squidSquadVersion=c4fb73e818
gwtPluginVersion=1.1.29
7 changes: 5 additions & 2 deletions SquidSquad/DawnSquad/html/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ 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
}

dependencies {
Expand Down Expand Up @@ -58,16 +58,19 @@ dependencies {
//// You can use the lines below instead of the "com.badlogicgames.gdx:gdx-backend-gwt" dependencies.
//// If you do, follow the steps at https://github.com/tommyettinger/gdx-backends#gwt-2902100-support
//// and you can use GWT 2.10.0, which gives you access to Java 11 language features.
//// Make sure that in the gwt block, you change gwtVersion so it is:
//// gwtVersion = "2.10.0"
implementation "com.github.tommyettinger:gdx-backend-gwt:1.1200.1"
implementation "com.github.tommyettinger:gdx-backend-gwt:1.1200.1:sources"
implementation "com.google.jsinterop:jsinterop-annotations:2.0.0:sources"

//// These lines would use GWT 2.8.2. You would need to set gwtVersion to "2.8.2" instead.
// implementation "com.github.tommyettinger:gdx-backend-gwt:$gdxBackendsVersion"
// implementation "com.github.tommyettinger:gdx-backend-gwt:$gdxBackendsVersion:sources"
}

import org.akhikhl.gretty.AppBeforeIntegrationTestTask
import org.wisepersist.gradle.plugins.gwt.GwtSuperDev
import org.docstr.gradle.plugins.gwt.GwtSuperDev

gretty.httpPort = 8080
gretty.resourceBase = project.projectDir.path + "/build/gwt/draftOut"
Expand Down

0 comments on commit be5c39b

Please sign in to comment.