kotlin

fun kotlin(variant: String): Directory

Generates a directory for Kotlin 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 "kotlin".

Return

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

Parameters

variant

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