File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
plugins/examples/security-authorization-engine Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' elasticsearch.esplugin'
2
2
apply plugin : ' elasticsearch.java-rest-test'
3
3
4
- import org.elasticsearch.gradle.util.GradleUtils
5
-
6
4
esplugin {
7
5
name ' security-authorization-engine'
8
6
description ' An example spi extension plugin for security that implements an Authorization Engine'
@@ -12,13 +10,12 @@ esplugin {
12
10
noticeFile rootProject. file(' NOTICE.txt' )
13
11
}
14
12
15
- // let the javaRestTest see the classpath of main
16
- GradleUtils . extendSourceSet(project, " main" , " javaRestTest" )
17
-
18
13
dependencies {
19
14
compileOnly " org.elasticsearch.plugin:x-pack-core:${ versions.elasticsearch} "
20
15
javaRestTestImplementation " org.elasticsearch.plugin:x-pack-core:${ versions.elasticsearch} "
21
16
javaRestTestImplementation " org.elasticsearch.client:elasticsearch-rest-high-level-client:${ versions.elasticsearch} "
17
+ // let the javaRestTest see the classpath of main
18
+ javaRestTestImplementation project. sourceSets. main. runtimeClasspath
22
19
}
23
20
// no unit tests
24
21
test. enabled = false
You can’t perform that action at this time.
0 commit comments