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

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

Go to download

The jitter-plugin is a Gradle plugin to build and distribute different flavours of an application from a single source base.

There is a newer version: 2023.3
Show newest version
package com.github.mictaege.jitter.plugin

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

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

class JitterTask extends DefaultTask {

    FlavourCfg flavour

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy