Open noiter opened 6 years ago
I Have a similar problem with JPA annotated entity classses comming from another gradle subproject, the problem seems to occur with inplace webapp, it works with appRunWar task.
Can anyone supply a minimal project that reproduces this problem? Thanks.
Go to https://github.com/noiter/gradle-multiproject-gretty as an example for reproducing the issue.
Description (How to reproduce the issue): Given I on working on a gradle multiproject, with structure like below,
Assume my webapp is something like gretty taglib example. I configure gretty server inside the build.gradle under webapp project, then I put below code inside build.gradle under service project,
Now I run
./gradlew clean appRun
. When I open browser I won't see any libs that being dependent by service project on web page.A project-specific solution that works to me:
I changed
to
I believe this issue is a bug inside Gretty, so I wonder if you can have a look.
Much appreciated. :)