gwt-gradle-plugin icon indicating copy to clipboard operation
gwt-gradle-plugin copied to clipboard

Should not create folders in the configuration phase

Open E3V3A opened this issue 6 years ago • 2 comments

It seem that when using the plugin in gradle, but only running a single gradle task, the GWT plugin is fired up anyway and creating folders in the configuration phase. According to gradle docs, nothing like this should happen in the configuration phase. (Sorry I don't have doc refs.)

So when I run this with gradle showRepos it automatically creates the "build" directory:

build/
└── gwt
    ├── cache
    ├── extra
    ├── gen
    └── work

E3V3A avatar Mar 11 '19 19:03 E3V3A

Good finding. But it seems not a showstopper, just a few empty directories created?

Anyway, pull request is welcome :)

jiakuan avatar Mar 12 '19 02:03 jiakuan

Not a show stopper (for that simple task), but it is a confusing annoyance when you are trying to use another simple task to determine if a previous compile task has already run successfully and created functional output or not...and to cleanup/remove the build output dirs. (Why create empty directories in the first place?)

I'd love to send you a PR, but I don't understand the code good enough to help you out there.

E3V3A avatar Mar 12 '19 12:03 E3V3A