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

com.github.mictaege.jitter.plugin.JitterTask.groovy Maven / Gradle / Ivy

package com.github.mictaege.jitter.plugin

import org.gradle.api.DefaultTask
import org.gradle.api.tasks.Input
import org.gradle.api.tasks.TaskAction

import static com.github.mictaege.jitter.plugin.JitterUtil.FLAVOUR_PROP

class JitterTask extends DefaultTask {

    @Input
    FlavourCfg flavour

    @TaskAction
    void run() {
        System.properties.setProperty(FLAVOUR_PROP, flavour.name)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy