gretty icon indicating copy to clipboard operation
gretty copied to clipboard

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

Open aeresov opened this issue 7 years ago • 2 comments

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.

aeresov avatar Jul 27 '18 03:07 aeresov

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?

javabrett avatar Jul 27 '18 03:07 javabrett

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

aeresov avatar Jul 27 '18 04:07 aeresov