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

cn.yerl.gradle.plugin.pack.PackExtension.groovy Maven / Gradle / Ivy

package cn.yerl.gradle.plugin.pack;

/**
 * Pack Extension
 * Created by Alan Yeh on 2016/12/18.
 */
class PackExtension {
    def methodMissing(String name, args) {
        if (name == "targets"){
            destDirs.addAll((Collection)args)
        }else if (name == 'archives') {
            sources.addAll((Collection)args)
        }else{
                setProperty(name, args[0])
        }

    }

    String task;
    def sources = []
    String template
    String templatePath = "/";
    def destDirs = [];
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy