# additionalData

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

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

#### Since

8.13

#### See also

ProblemSpec.additionalData