kotlinCompileFor

@Deprecated(message = "Please use `io.spine.tools.gradle.project.kotlinCompileFor()` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.findKotlinCompileFor"}, expression = "kotlinCompileFor(sourceSet)"))
public final static KotlinCompilationTask<?> kotlinCompileFor(Project $self, SourceSet sourceSet)

Deprecated

Please use `io.spine.tools.gradle.project.kotlinCompileFor()` instead.

Replace with

import io.spine.tools.gradle.project.findKotlinCompileFor
kotlinCompileFor(sourceSet)

Attempts to obtain the Kotlin compilation Gradle task for the given source set.

Typically, the task is named by a pattern: compile<SourceSet name>Kotlin, or just compileKotlin if the source set name is "main". If the task does not fit this described pattern, this method will not find it.