[7.x] Apply new REST base plugin for the javaRestTest plugin (#60627) (#60672)

This commit applies the new base REST plugin for javaRestTest plugin.

related: #60624
This commit is contained in:
Jake Landis 2020-08-04 13:14:08 -05:00 committed by GitHub
parent 0587199fa6
commit 5db283262e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ package org.elasticsearch.gradle.test.rest;
import org.elasticsearch.gradle.ElasticsearchJavaPlugin;
import org.elasticsearch.gradle.test.RestIntegTestTask;
import org.elasticsearch.gradle.test.RestTestBasePlugin;
import org.elasticsearch.gradle.testclusters.TestClustersPlugin;
import org.elasticsearch.gradle.util.GradleUtils;
import org.gradle.api.Plugin;
@ -44,6 +45,7 @@ public class JavaRestTestPlugin implements Plugin<Project> {
public void apply(Project project) {
project.getPluginManager().apply(ElasticsearchJavaPlugin.class);
project.getPluginManager().apply(RestTestBasePlugin.class);
project.getPluginManager().apply(TestClustersPlugin.class);
// create source set