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>)

Add a validated Kotlin String constant from a provider.

KiteSSOT resolves the provider when it generates the source. This can keep the value out of the build script, but not out of generated source, task inputs, build scans, application binaries, or an enabled build cache. The resolved value may contain at most 10,000 characters. Do not use this for credentials.