javaCompileFor

@Deprecated(message = "Please use `io.spine.tools.gradle.project.javaCompileFor()` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.findJavaCompileFor"}, expression = "javaCompileFor(sourceSet)"))
public final static JavaCompile javaCompileFor(Project $self, SourceSet sourceSet)

Deprecated

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

Replace with

import io.spine.tools.gradle.project.findJavaCompileFor
javaCompileFor(sourceSet)

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

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