Repository

abstract class Repository : GenericJsonObject

repository

Constructors

Link copied to clipboard
fun Repository()

Functions

Link copied to clipboard
infix fun String.by(value: GenericJsonObject.() -> Unit)
infix fun String.by(value: Action<GenericJsonObject>)

Set a custom object value for this JsonObject

infix fun String.by(value: Any)

Set a custom value for this JsonObject

Link copied to clipboard
open override fun finalise(): MutableMap<String, Any>

Resolves the underlying json value to a MutableMap instance, recursively merging known and custom properties and resolving all Provider values

Link copied to clipboard
fun json(value: GenericJsonObject.() -> Unit): GenericJsonObject
fun json(value: Action<GenericJsonObject>): GenericJsonObject

Build a custom object value

Link copied to clipboard
operator fun set(key: String, value: Any)

Set a custom value

operator fun set(key: String, value: Provider<Any>)

Set a custom value provider to be resolved when finalise is invoked

Properties

Link copied to clipboard
@get:Input
@get:Optional
abstract val directory: Property<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val type: Property<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val url: Property<String>