Java build tool in gradle build


(William Zeitler) #1

I’m a Gradle newbie (and Java too, being an ex-Microsoft C++/nmake guy).

I need to massage source files before doing the real Java build. The massaging tool is also in Java, and the class is “/myProject/out/myTool/myTool.class”

I am having trouble figuring out how to call ‘myTool.class’ within my Gradle task. (I certainly don’t want to hard-code ‘/myProject’!)

Thank you in advance,

william zeitler


(Stefan Oehme) #2

You’ll have better chances of getting an answer if you put together a small example project on GitHub that shows what you are trying to do. Then people could simply send you a pull request or point out the problem in your build script.