Gradle as Java Lib

Hi All,

I am new to Gradle and as per my knowledge I can maintain the dependencies,compile code,Run Tests and build the jar on command prompt.

But I want to automate Gradle Build System with my Java Code, How can I use java to say Gradle to compile/test/build a Project …?

Regards, Akhil

Got the answer…

it’s tooling API