Hi, thanks for the comment.There are some Gradle plugins for GWT, which one is the "best"? Sofar I only use Maven, so never try Gradle...Maybe others could also tell which Gradle Plugin should we propose? @Thomas Broyer?
plugins {
java
id("local.gwt-shared-lib")
}
dependencies {
implementation("org.slf4j:slf4j-api")
implementation("some third party lib")
gwt("some emulation lib for SLF4J")
gwt("adapter lib for the other third-party lib")
}
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/2886a824-dba4-463e-bac6-29a3e1cbbe67o%40googlegroups.com.
Hi Thomas,... actually I feel that doing platform specific stuffs in my code it's not the way.It is comparable to GWT vs. jsweet. In GWT you have everything in Java semantic. In jsweet you actually have everything in Java but with JavaScript semantic. jsweet is for me still better than JavaScript 😉but I lost the Java semantic.Putting platform specific stuffs in the code mixes the separation of concern, IMHO...
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/e0ed6d1f-5962-4d23-b3d4-5354270b5f79n%40googlegroups.com.
val gwtOutputDir = file("$buildDir/gwtc/war")
tasks {
val gwtCompile by registering(JavaExec::class) {
val companionOutputDir = file("$buildDir/gwtc")
val deployDir = file("$companionOutputDir/extra")
val extraDir = deployDir
val genDir = file("$companionOutputDir/gen") // XXX: useful?
val workDir = file("$companionOutputDir/work")
outputs.dir(gwtOutputDir).withPropertyName("outputDir")
outputs.dir(deployDir).withPropertyName("deployDir")
outputs.dir(extraDir).withPropertyName("extraDir")
outputs.dir(genDir).withPropertyName("genDir")
outputs.dir(workDir).withPropertyName("workDir")
classpath = gwt
maxHeapSize = "1g"
main = "com.google.gwt.dev.Compiler"
args(
"-failOnError",
"-XdisableCastChecking",
"-XdisableClassMetadata",
"-war", gwtOutputDir,
"-deploy", deployDir,
"-extra", extraDir,
"-gen", genDir,
"-workDir", workDir,
"com.example.app.App"
)
doFirst {
delete(gwtOutputDir, deployDir, extraDir, genDir)
}
}
register<JavaExec>("run") {
val workDir = file("$buildDir/gwt/codeserver")
classpath = gwt
maxHeapSize = "2g"
main = "com.google.gwt.dev.codeserver.CodeServer"
args(
"-failOnError",
"-launcherDir", gwtOutputDir,
"-workDir", workDir,
"com.example.app.App"
)
doFirst {
delete(gwtOutputDir)
mkdir(workDir)
}
}
integrationTest {
val warDir = file("$buildDir/gwt/www-test")
val workDir = file("$buildDir/gwt/work")
outputs.dir(warDir).withPropertyName("warDir")
outputs.dir(workDir).withPropertyName("workDir")
isScanForTestClasses = false
include("**/*Suite.class")
maxHeapSize = "1g"
systemProperty("gwt.args", """-ea -draftCompile -batch module -war "$warDir" -workDir "$workDir" -runStyle HtmlUnit:FF38""")
}
}
There is also this jiakuan fork of the steffenschaefer plugin:
https://github.com/jiakuan/gwt-gradle-plugin
Maintenance of the fork is active.
On 9/21/20 6:55 AM, Joker Joker wrote:
Lofi,
I tried 3 plugins and this one (esoco) is the best one among them. 2 of them are abandoned. The plugin from esoco is the only one mantained at the moment.
https://github.com/Putnami/putnami-gradle-plugin (abandoned)Putnami was my choise before it was abandoned.Now I use esoco gradle plugin on 2 my large production projects and on on several gwt libraries.
--пятница, 18 сентября 2020 г. в 00:39:06 UTC+4, jumanor:
Gran trabajo, muchas gracias.great job!
El lunes, 11 de mayo de 2020 a las 16:01:56 UTC-5, lofid...@gmail.com escribió:
Hi All,
if you need a presentation about modern GWT development as an introduction, just take a look at this:
I also added this presentation in the Modern GWT Padlet: https://bit.ly/GWTIntroPadlet
Have fun,Lofi
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub...@googlegroups.com.
Thanks a lot for the info.I added the Gradle plugin, wow we have 3 Gradle plugins.... is it not better just to have one? 😉The check on page 42 is about the "values", so the input param 😉I will create a new GWT libs list project to have a list of all GWT libs available... so not only UI framework... and will put everything over there... hope that the community will make some PR, so we can have a lot of libs...
The check on page 42 is about the "values", so the input param 😉
I added the "heart" ❤️ symbol to show that the libs / frameworks still being supported... I tried to add all the hearts in which libs I know...
If you want to add the heart just follow the two ways I mentioned in the beginning:
https://github.com/gwtboot/gwt-boot-awesome-lili
All the supported libs / frameworks are always in the beginning of the category...
Hope to get more libs / frameworks for GWT / J2CL 😀👍