Closed
Description
I just wrote a Gradle variant of this plugin that does not wrap the ant task to do its work.
Within it, I provided a ForbiddenApiRunner
, and ForbiddenApiRunnerBuilder
to make it usable, that could be used to generically run from Ant, Maven, or Gradle (or whatever the next build tool is). From there, you could separate the Ant and Maven code into their own packages/modules. Each module could still shade in their dependencies if that's desirable, but it avoids the Maven build unnecessarily containing Ant build code.
Doing this could also greatly simplify #13. Granted, Gradle makes it a bit easier to consume dependencies via configurations, I have already gotten that working with the Gradle version.