fileSpec

inline fun fileSpec(fileName: String, crossinline block: FileSpec.Builder.() -> Unit)

Generates a file spec for the specified file name.

Parameters

fileName

The name of the file to generate.

block

A block of code that defines the contents of the file.