gradleApi() doesn't seem to bring in sources like other dependencies do?

Is there a way so that the dependency on gradleApi() will bring in the source as well like other dependency types do? My plugin has the following in it’s dependency file…

dependencies {
compile gradleApi()
//transitively pulling in http-templating is no longer working…
compile project(’:webserver:http-templating-dev’)

testCompile deps['junit']