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


(nagendra.raja) #1

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

buildscript

{

dependencies

{

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

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

}

}

Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com


(Peter Niederwieser) #2

No, this is not supported.


(nagendra.raja) #3

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.


(Peter Niederwieser) #4

I suggest studying the Gradle user guide.