akhikhl / gretty

Advanced gradle plugin for running web-apps on jetty and tomcat.
MIT License
654 stars 174 forks source link

appRun doesn't work when "implementation" configuration is used #430

Open aeresov opened 6 years ago

aeresov commented 6 years ago

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.

javabrett commented 6 years ago

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?

aeresov commented 6 years ago

stacktrace looks slightly different, but the issue remains: