SourceSet

data class SourceSet(val name: String, val kind: String, val production: Boolean, val srcDirs: List<String>, val kotlinFiles: List<String>, val platforms: List<String> = emptyList())

Represents a source set within a module at test runtime.

Constructors

Link copied to clipboard
constructor(name: String, kind: String, production: Boolean, srcDirs: List<String>, kotlinFiles: List<String>, platforms: List<String> = emptyList())

Properties

Link copied to clipboard

Technological type of the source set, i.e., "KOTLIN_JVM", "ANDROID_VARIANT", or "KMP".

Link copied to clipboard

List of relative Kotlin file paths.

Link copied to clipboard

Name of the source set (e.g., main, test).

Link copied to clipboard

List of target platforms associated with this source set (e.g., "jvm", "js", "native").

Link copied to clipboard

True if this represents a production source set, false otherwise.

Link copied to clipboard

Source directories mapped to this source set.