SourceSet

data class SourceSet(val name: String, val kind: String, val production: Boolean, val srcDirs: List<String>, val platforms: List<String> = emptyList(), val dependsOnSourceSets: 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>, platforms: List<String> = emptyList(), dependsOnSourceSets: List<String> = emptyList())

Properties

Link copied to clipboard

Source sets in this source set's Kotlin compilation/dependsOn visibility closure.

Link copied to clipboard

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

Link copied to clipboard

Filter or assertion criteria for name.

Link copied to clipboard

Filter or assertion criteria for platforms.

Link copied to clipboard

Filter or assertion criteria for production.

Link copied to clipboard

Filter or assertion criteria for src dirs.

Functions

Link copied to clipboard

Converts this SourceSet to a SourceSetId for the specified modulePath.