Search in sources :

Example 1 with EtlasMavenRepository

use of com.typelead.gradle.eta.internal.EtlasMavenRepository in project gradle-eta by typelead.

the class EtaBasePlugin method apply.

@Override
public void apply(Project project) {
    this.project = project;
    checkForValidGradleVersion();
    this.mavenRepository = new EtlasMavenRepository(project, new File(project.getGradle().getGradleUserHomeDir() + File.separator + "caches" + File.separator + "etlas"));
    project.getPlugins().apply(BasePlugin.class);
    EtaPluginConvention etaConvention = new EtaPluginConvention(project);
    project.getConvention().getPlugins().put("eta", etaConvention);
    createRootEtaExtension();
    addEtlasMavenRepository();
    addEtaExtensionForConfigurations();
    configureInjectionTasks();
    configureEtaRootTasks();
    createProguardFiles();
    configureTestTask();
}
Also used : EtlasMavenRepository(com.typelead.gradle.eta.internal.EtlasMavenRepository) File(java.io.File)

Aggregations

EtlasMavenRepository (com.typelead.gradle.eta.internal.EtlasMavenRepository)1 File (java.io.File)1