ZmtExternalPlugin.groovy 522 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
package de.zmt.gradle;

import org.gradle.api.*

/**
 * Meta plugin applying all necessary plugins for external libraries
 * not dependent on zmt-core.
 */
public class ZmtExternalPlugin implements Plugin<Project> {
    private static final def CONFIGURE = {
        apply(plugin: ZmtBasePlugin)
        apply(plugin: ZmtJavaPlugin)
13
        apply(plugin: ZmtDochostPlugin)
14 15 16 17 18 19 20 21
        apply(plugin: ZmtPublishPlugin)
    }

    @Override
    void apply(Project project) {
        project.configure(project, CONFIGURE)
    }
}