gretty
gretty copied to clipboard
appRun doesn't work when "implementation" configuration is used
My build.gradle uses new "implementation"/"testImplementation" configurations. When using appRun task, gretty can't find compiled classes; appRunWar works fine. Looking at gretty code, I can see that it relies heavily on existence of "compile" configuration - which is, nowadays, incorrect.
Possible duplicate of #378 but appRun vs appRunWar might make it different. Can you try https://github.com/gretty-gradle-plugin v2.2 and see if that fixes it?
stacktrace looks slightly different, but the issue remains:
- if "compile" config used, both appRun and appRunWar work alright
- if "implementation" config used, appRun can't find classes, but appRunWar works