All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nebula.plugin.ospackage.daemon.DaemonExtension.groovy Maven / Gradle / Ivy

There is a newer version: 3.1.1
Show newest version
package nebula.plugin.ospackage.daemon

import groovy.transform.Canonical
import org.gradle.api.DomainObjectCollection
import org.gradle.util.ConfigureUtil

@Canonical
class DaemonExtension {
    final DomainObjectCollection daemons

    // TBD Add defaults, like user name for all daemons

    def daemon(Closure configure) {
        def definition = new DaemonDefinition()
        ConfigureUtil.configure(configure, definition)
        daemons.add(definition)
        return definition
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy