# additionalData

@Incubating
inline fun <T : AdditionalData> ProblemSpec.additionalData(type: KClass<T>, config: Action<in T>): ProblemSpec(source)
@Incubating
inline fun <T : AdditionalData> ProblemSpec.additionalData(type: KClass<T>, config: Action<in T>): ProblemSpec(source)

Kotlin extension function taking kotlin.reflect.KClass for org.gradle.api.problems.ProblemSpec.additionalData.

#### Since

8.13

#### See also

org.gradle.api.problems.ProblemSpec.additionalData