Hi,
After watching the video on how to setup a Zap development environment I started dabling around a little bit. I am pretty well versed in Java, but gradle is completely new to me. What I am trying to do right now is to add one utility class to Zaproxy, containing mostly static methods, and use that class from an addon. However, gradlew always complains about missing the utility class that I added to the zaproxy tree.
At first I used a completely new top-level package (utility/Fubar.java) but that did not work when I tried to add the extension to Zap (using simpleexample for now) So, I moved the utility class to the same package as ZAP.java. Also did not work.
I assumed that one of the zap-extension gradle configuration files links the extension to the main Zap code, but if so, I did not recognize it as such.
I also tried to figure out how gradle handles its configuration, but frankly, I got lost quickly in the vast sea of documentation.
In the end I even tried "strace -f" (working on linux) in the hope of finding where the actual java compile command is executed (and learn which classpath settings may be used), but that failed to.
Can anyone direct me to a short description on how to setup classpath settings for adding source code to the main zaproxy tree, as well as to a new addon?
Thanks.