buildService

fun <V> buildService(builderAction: TaskBuilder<V>.() -> Unit): Service<V>

Returns a Service by invoking Task DSL. By default, it will do nothing and returns null in the background, customize it by invoking call.