Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.83 KB

File metadata and controls

31 lines (19 loc) · 1.83 KB

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

getFile

fun Task.getFile(filename: String): Provider<String!>! (source)

Reads the specified file and processes it using Velocity.

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

getFile("02/release_post.txt")

Parameters

filename - The path to the file to read.fun Task.getFile(filename: Provider<String>): Provider<String!>! (source)

Reads the specified file and processes it using Velocity.

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

getFile("02/release_post.txt")

Parameters

filename - A provider returning the path to the file to read.