Comments (3)
Hi,
If you want to keep everything in one src directory then just add the following
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['src']
}
}
}
VAADIN/gwt-unitCache is just generated by the widgetset compiler so future compilations would be faster. It is not needed by the widgetset in any other way and can be removed what packaging for instance.
from gradle-vaadin-plugin.
Ok Thanks that worked!
But what is the difference between my old sourceSets definition?
I think it is the same in the background?
sourceSets {
main {
java {
srcDir 'src/'
}
resources {
srcDir 'src/'
}
}
}
from gradle-vaadin-plugin.
using srcDir 'src/'
will add a src dir to the source sets instread of replacing it. Effectivly that is the same as
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src']
}
resources {
srcDirs = ['src/main/resources', 'src']
}
}
}
The plugin will generate the source files and widgetset into the first source directory it finds, so in your case it ended up in 'src/main/resources'
from gradle-vaadin-plugin.
Related Issues (20)
- Task :vaadinRun FAILED HOT 1
- building widgetset using kotlin dsl HOT 6
- Support Vaadin 8.2+ and dependent vaadin-spring plugins HOT 3
- Gradle Vaadin Plugin hampering inter-module dependencies with “bootRun”? HOT 1
- Executing vaadinRun on project subProjectX fails with Project ':subProjectX' not found in project ':subProjectX'. HOT 2
- s HOT 1
- problem download vaadin-themes HOT 1
- Upgrade to payara microprofile
- gradle 5.0 support HOT 2
- MPR-based app compilation fails: com.vaadin.mpr.core.AbstractMprUIContent cannot be resolved
- No value has been specified for this provider.
- JS HOT 2
- JS HOT 1
- Vaadin 14 Flow npm support HOT 2
- Dependencies are not being exported to WAR when managed by plugin
- Vaadin 14 with Gradle and npm HOT 2
- How run custom gradle task before vaadinCompile runs HOT 1
- relative themesDirectory incorrectly rooted relative to the root project
- Please add support for Gradle 6 HOT 1
- Plugin configuration is missing vaadin 8 dependencies
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 gradle-vaadin-plugin.