java

abstract fun java(@Nullable @DelegatesTo(value = SourceDirectorySet::class) configureClosure: Closure): SourceSet(source)

Configures the Java source for this set.

The given closure is used to configure the SourceDirectorySet which contains the Java source.

Return

this

Parameters

configureClosure

The closure to use to configure the Java source.


abstract fun java(configureAction: Action<in SourceDirectorySet>): SourceSet(source)

Configures the Java source for this set.

The given action is used to configure the SourceDirectorySet which contains the Java source.

Return

this

Parameters

configureAction

The action to use to configure the Java source.