Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 1.22 KB

File metadata and controls

21 lines (14 loc) · 1.22 KB

subkt / myaa.subkt.tasks / org.gradle.api.Task / evaluate

evaluate

fun Task.evaluate(expression: String): Provider<List<String>!>! (source)

Evaluates a string using Velocity, splits it on |, and processes it with glob.

This function is run in a task context, meaning that task-specific values such as entry, currentTask and isBatch are available.

// from task mux.03
evaluate("\$currentTask - \$episode - \$merge.out.get()")
// Output: mux - 03 - build/merge.03.ass

Parameters

expression - The expression to evaluate.