api / org.gradle.api.tasks / SourceSet / getAllJava

getAllJava

abstract fun getAllJava(): SourceDirectorySet

All Java source files for this source set. This includes, for example, source which is directly compiled, and source which is indirectly compiled through joint compilation.

Return
the Java source. Never returns null.