SourceSetData

data class SourceSetData(val name: String, val kind: String, val production: Boolean, val srcDirs: List<String>, val platforms: List<String> = emptyList(), val targetNames: List<String> = emptyList(), val dependsOnSourceSets: List<String> = emptyList(), val dependencyConfigurations: List<String> = emptyList(), val compileClasspath: List<String> = emptyList(), val jvmTarget: String? = null) : Serializable

Serialized representation of a Gradle source set captured during configuration analysis.

Constructors

Link copied to clipboard
constructor(name: String, kind: String, production: Boolean, srcDirs: List<String>, platforms: List<String> = emptyList(), targetNames: List<String> = emptyList(), dependsOnSourceSets: List<String> = emptyList(), dependencyConfigurations: List<String> = emptyList(), compileClasspath: List<String> = emptyList(), jvmTarget: String? = null)

Properties

Link copied to clipboard

Resolved classpath file entries.

Link copied to clipboard

Dependency configuration names attached to this source set.

Link copied to clipboard

Names of other source sets this source set depends on.

Link copied to clipboard

Configured JVM bytecode target level.

Link copied to clipboard

Classification of the source set (e.g. "KOTLIN_JVM", "ANDROID_VARIANT", "KMP").

Link copied to clipboard

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

Link copied to clipboard

Target platforms for KMP source sets.

Link copied to clipboard

Whether this is a production source set versus a test/benchmark source set.

Link copied to clipboard

Source directory filesystem paths.

Link copied to clipboard

Target names for KMP source sets.