Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.15 KB

File metadata and controls

22 lines (15 loc) · 1.15 KB

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

get

fun Task.get(propertyName: String): Provider<String!>! (source)

Searches for the given property in the Subs object's SubProperties instance, evaluates its value using evaluate, and returns a single string, assuming that the resulting list contains only one element.

This function is run in a task context, using the entry and release values for this task.

// from task mux.03
// property file: TV.03.value=$release/$episode/show_${episode}.ass
get("value")
// Output: TV/03/show_03.ass

Parameters

propertyName - The property to find.