connectToJavaSourceSet

abstract fun connectToJavaSourceSet(name: String)

Connects the generated sources to the given Java source set. Throws if the Java plugin is not applied

Parameters

name

: the name of the source set. For an example, "test"