I\'ve been building some tasks for a gradle multi-project build and have a need to get the class path for a project. The build script has projects that use the Java plugin
project.android.applicationVariants.all { v ->
v.getCompileClasspath(null).getFiles().each{
File f->
f.getAbsolutePath()//this is the one of classpath
}
}