ProjectExtsKt

public final class ProjectExtsKt

Properties

Link copied to clipboard
@Deprecated(message = "Please use `io.spine.protodata.gradle.protoDataWorkingDir` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.protodata.gradle.protoDataWorkingDir"}, expression = "protoDataWorkingDir"))
private final static Directory protoDataWorkingDir

Obtains the directory where ProtoData stores its temporary files.

Functions

Link copied to clipboard
public final Directory getProtoDataWorkingDir()
Link copied to clipboard
@Deprecated(message = "Please use `io.spine.tools.gradle.project.hasCompileTask(Language)` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.hasCompileTask"}, expression = "hasCompileTask(language)"))
public final static Boolean hasCompileTask(Project $self, Language language)

Tells if this project has a compile task for the given language.

Link copied to clipboard
@Deprecated(message = "Please use `io.spine.tools.gradle.project.hasJava()` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.hasJava"}, expression = "hasJava()"))
public final static Boolean hasJava(Project $self)

Tells if this project can deal with Java code.

Link copied to clipboard
@Deprecated(message = "Please use `io.spine.tools.gradle.project.hasJavaOrKotlin()` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.hasJavaOrKotlin"}, expression = "hasJavaOrKotlin()"))
public final static Boolean hasJavaOrKotlin(Project $self)

Verifies if the project can deal with Java or Kotlin code.

Link copied to clipboard
@Deprecated(message = "Please use `io.spine.tools.gradle.project.hasKotlin()` instead.", replaceWith = @ReplaceWith(imports = {"io.spine.tools.gradle.project.hasKotlin"}, expression = "hasJava()"))
public final static Boolean hasKotlin(Project $self)

Tells if this project can deal with Kotlin code.

Link copied to clipboard
@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)

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

Link copied to clipboard
@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)

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