Code Monkey home page Code Monkey logo

Comments (4)

gesellix avatar gesellix commented on July 20, 2024

PR #13 would solve the problem for me, I would propose the changes to your example-library to show other people how jar projects can use your compileGwt task.
Thanks!

from gwt-gradle-plugin.

steffenschaefer avatar steffenschaefer commented on July 20, 2024

The short answer is "Yes this behavior is currently intended". The long story is a little bit more complex :)

By now the split of one big plugin in several smaller ones isn't currently finished. The compileGwt task is one thing that I would like to move to a separate plugin so that you can apply one of the following plugins:

  • gwt-base: only configures the extension/configurations/dependencies and sets defaults for tasks if they are added. You would use this to get the dependency related functionality. This would be the best match for library projects that do not need GWT compilation (e.g. if you create your own widget library).
  • gwt-compiler: adds the compileGwt and draftCompileGwt tasks but doesn't do anything with their output. It's up to the user to define this as there are several use-cases where this would be helpful (e.g. reference it from another subproject that builds a war or zip and upload to a maven repository).
  • gwt: the fully configured plugin if you are building a GWT based webapp

Reworking and extending the examples (and documentation) are things I'd like to do for the next release. I think I'll add examples for the use-cases I already wrote about.

When the split of the plugins is finished, the library example won't have a compileGwt task anymore.

I'll leave this issue open until the new examples are added.

from gwt-gradle-plugin.

gesellix avatar gesellix commented on July 20, 2024

Thanks for explaining your ideas!
When you need some help with testing, feedback or even coding feel free to note me :)

from gwt-gradle-plugin.

steffenschaefer avatar steffenschaefer commented on July 20, 2024

The examples mentioned above are created and part of release 0.4.

from gwt-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.