KetraTerm
API · DevelopmentAll versions

TerminalGradleTask

data class TerminalGradleTask @JvmOverloads constructor(val path: String, val description: String = "", val projectDirectory: String? = null)

One imported Gradle task returned by a host completion loader.

path is the canonical Gradle task path, including its leading colon. Hosts may provide projectDirectory relative to the terminal working directory so the shared source can scope -p and --project-dir task completion without accessing the filesystem.

Throws

if path is not a canonical non-root Gradle task path or projectDirectory is present but blank.

Constructors

Link copied to clipboard
constructor(path: String, description: String = "", projectDirectory: String? = null)

Properties

Link copied to clipboard

optional task documentation from the imported Gradle model.

Link copied to clipboard

canonical Gradle task path, such as :app:run.

Link copied to clipboard

optional normalized project directory relative to the terminal working directory; the root project is represented by ..