Comments (6)
That is a nice idea, it is something that is still missing.
I did do an example multimodule project (https://github.com/johndevs/feedreader) for a blog post some time ago without the plugin but maybe it could serve as an example if it would be converted to use the plugin? It contains some external dependencies, a data and service layer split into their own modules, and combines everything into a simple UI built with Vaadin.
I've also used the plugin in some of my Vaadin addon projects but I think they don't really serve as good examples because they mix in the addon related stuff that really is not needed if you are building a Vaadin application.
Or should the project be something simpler with only one module and some basic GWT configuration?
from gradle-vaadin-plugin.
Thanks John ,
My guess is , we should have something covering some "fondamental" features such as :
- Multimodule
- widgetset compilation
- Defining external dependencies : such as spring or any other ( doesn't matter at all which one you choose )
- Defining any Options that can be of good use on any project ( optimisation, jrebel usage, etc ...)
- publishing artifact : maven style
- Eventually example for addon-project ? especially packaging and publishing . The idea is to cover a large part of both regaular vaadin project and the addon project with all the necessary task we usually deal with when publishing to vaadin directory but maybe this last point is a little out of scope ?
The use cas is really up to you , a simple dumy project would do the trick, nothing fancy on the vaadin Ui side . So your feedreader example would certainly do as the basis ! i'll fork it and play with it a little for adding some widgetset based on twitter gwt-bootstrap .
Cheers
from gradle-vaadin-plugin.
There is now a example build.gradle with all the plugin options at https://gist.github.com/johndevs/11184881 which should help getting to know the plugin. It is not a full project though which we also should have but it is a good start.
from gradle-vaadin-plugin.
Hi jamroks, I fork CssInject plugin and migrate it from ivy to gradle, you can see it https://github.com/zhuravskiy/CSSInject
Also i created template project for vaadin addon https://github.com/zhuravskiy/vaadin-addon-template, that i copy, change example strings, and fix head lines in build.gradle, a little code, and new vaadin addon is born :)
from gradle-vaadin-plugin.
@jamroks you can also take a look at my webapp skeleton I recently created as a simple bootstrap for new projects. It contains vaadin web module (using this plugin) with custom theme as well as other modules and external dependencies
https://github.com/LivotovLabs/WebApplicationSkeleton
from gradle-vaadin-plugin.
Added a new wiki to this gradle repository to gather information in. It can be found at https://github.com/johndevs/gradle-vaadin-plugin/wiki
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.