File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
buildSrc/src/main/groovy/org/elasticsearch/gradle/doc Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,21 @@ package org.elasticsearch.gradle.doc
2121import org.elasticsearch.gradle.OS
2222import org.elasticsearch.gradle.Version
2323import org.elasticsearch.gradle.VersionProperties
24- import org.elasticsearch. gradle.test.RestTestPlugin
24+ import org.gradle.api.Plugin
2525import org.gradle.api.Project
2626import org.gradle.api.Task
27+
2728/**
2829 * Sets up tests for documentation.
2930 */
30- public class DocsTestPlugin extends RestTestPlugin {
31+ class DocsTestPlugin implements Plugin< Project > {
3132
3233 @Override
33- public void apply (Project project ) {
34+ void apply (Project project ) {
3435 project. pluginManager. apply(' elasticsearch.testclusters' )
3536 project. pluginManager. apply(' elasticsearch.standalone-rest-test' )
36- super . apply(project)
37+ project. pluginManager. apply(' elasticsearch.rest-test' )
38+
3739 String distribution = System . getProperty(' tests.distribution' , ' default' )
3840 // The distribution can be configured with -Dtests.distribution on the command line
3941 project. testClusters. integTest. testDistribution = distribution. toUpperCase()
You can’t perform that action at this time.
0 commit comments