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

com.github.mictaege.jitter.plugin.FlavourCfg.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 groovy.transform.Canonical
import org.gradle.api.Action
import org.gradle.util.ConfigureUtil

@Canonical
class FlavourCfg {
    String name
    CriticalTermsCfg criticalTerms = new CriticalTermsCfg()

    void criticalTerms(Closure closure) {
        ConfigureUtil.configure(closure, criticalTerms)
    }

    void criticalTerms(Action action) {
        action.execute(criticalTerms)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy