stringField

fun stringField(name: String, value: String)

Add a validated Kotlin String constant of at most 10,000 characters.


fun stringField(name: String, value: Provider<String>)

String field sourced lazily and resolved at generation time. This keeps the value out of the build script; it does not keep it out of generated source, caches, build scans, or application binaries. The resolved value is limited to 10,000 characters. Do not use it for credentials.