Comments (4)
Here are the Gradle fragments we use for GWT. I've no idea how to do this with Maven. Maybe you'll see something we configure via Gradle that you can configure via Maven that might fix your issue.
settings.gradle
pluginManagement {
plugins {
id "org.docstr.gwt" version "1.1.21"
id "org.gretty" version "3.0.8"
}
}
build.gradle
plugins {
id "idea"
id "java"
id "war"
id "org.gretty"
id "org.docstr.gwt"
}
java.sourceCompatibility = JavaVersion.VERSION_11
java.targetCompatibility = JavaVersion.VERSION_17
compileJava.options.encoding = 'UTF-8'
compileJava.options.release = 17
compileTestJava.options.encoding = 'UTF-8'
compileTestJava.options.release = 17
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
java.withSourcesJar()
jar {
from sourceSets.main.allSource
duplicatesStrategy = DuplicatesStrategy.INCLUDE
}
repositories {
mavenCentral()
google()
maven { url 'https://jitpack.io' }
}
tasks.withType(GwtSuperDev) {
args "-style", "PRETTY", "-strict"
jvmArgs "-Dgwt.watchFileChanges=false"
}
war {
archiveName 'servlet.war'
rootSpec.exclude('WEB-INF/classes/**/*.class')
}
gretty {
httpPort = 8080
servletContainer = 'tomcat9'
contextPath = "servlet"
extraResourceBase 'build/gwt/out'
}
gwt {
src += files(compileJava.options.annotationProcessorGeneratedSourcesDirectory)
logLevel = "INFO"
maxHeapSize = "4096M"
modules 'com.example.EntryPointClassName'
compiler {
disableClassMetadata = false
strict = true
style = "OBF"
}
devModules += 'com.example.EntryPointClassName'
superDev {
noPrecompile = true
failOnError = true
bindAddress = "0.0.0.0"
}
}
More information about the GWT Gradle plugin can be found at: https://gwt-gradle-plugin.documentnode.io/
from gwt-material.
It seems to work fine with Gradle and JDK 17. So it really sounds like a build config issue.
from gwt-material.
Unfortunately I don’t know Gradle and I don’t know how I could configure a gwt-material project using it instead of Maven. Do you have some suggestions to solve this problem?
from gwt-material.
Related Issues (20)
- ClassCastException when registering ServiceWorker in Safari on MacOS X
- PushManager.permissionState() not working on Chrome HOT 1
- MaterialSideNavMini: Where did the expandable property go?
- `MaterialDialog` places extra overlays with each opening
- MaterialValueBox - add support for READMODE having suffix and prefix.
- Fails to build | GWT 2.10.0 | Value 'ie10' in not a valid value for property 'user.agent' HOT 4
- Possible future support of Nalu instead of GWTP HOT 1
- MaterialIcons-Regular.woff2 and MaterialIcons-Regular.woff not found. HOT 1
- MaterialCollectionItem throws NPE onClick
- Feature Request - Add onInputChange Event handler on Value Boxes.
- Value Sanitizer for ValueWidget
- Material DropDowns and ListBoxes do not scroll to element when typing first letters and more than 1 are attached/visible
- MaterialDatePicker does not work correctly on Safari
- Changelog
- gmd-table may show two vertical scrollbars
- Upgrade materialize.js to v1.0.0 or v2.x HOT 2
- MaterialCameraCapture - mirroring beahior
- MaterialDesignBase.onModeuleLoad() throws Uncaught Range Error: Invalid Array Length
- Lighthouse score for GWT-Material apps decreased due to unload listener in older embedded JQuery HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-material.