How to specify location of dependent gradle source files in buildscript block

Like in java sourcepath, is there a away for current build.gradle script to find and compile new classes by giving a sourcepath. I currently see only classpath is supported like this





//sourcepath files(["./src"]); this is not working

classpath files([“C:\temp\out\production\lapos”]);



Regards, Raja Nagendra Kumar, C.T.O

No, this is not supported.

Thank you, could you consider to support sourcepath as part of buildscript like it currently has classpath support.

Could you point me to a place where I can have more info on lifecycle of script blocks pl.

I suggest studying the Gradle user guide.