ZmtSimulationPlugin.groovy 579 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 ZMT simulations
 */
public class ZmtSimulationPlugin implements Plugin<Project> {
    private static final def CONFIGURE = {
        apply(plugin: ZmtBasePlugin)
        apply(plugin: ZmtJavaPlugin)
        apply(plugin: ZmtJavadocPlugin)
13
        apply(plugin: ZmtDochostPlugin)
14
15
16
17
18
19
20
21
22
        apply(plugin: ZmtDistributionPlugin)
        apply(plugin: ZmtEclipsePlugin)
    }

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