RCP to execute build.gradle from a java class, in eclipse

I want to generate a project with build.gradle , and i want to call the build.gradle from a java classe so i need an RCP to do this , any suggestion for the RCP ???

I’m not sure what RCP stands for (recipe maybe?) but you probably want the tooling API

RCP i mean , Rich Client Platform