java

fun java(variant: String): Directory

Generates a directory for Java source code for the specified variant.

The directory is created in the project's source output directory, under a subdirectory with the blueprint's name and the variant's name, and then a subdirectory named "java".

Return

The directory for the Java source code for the specified variant.

Parameters

variant

The name of the variant for which to generate the directory.