Skip to content

Commit

Permalink
prefer GradleUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Apr 3, 2024
1 parent a124642 commit 404232c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions x-pack/plugin/security/qa/secondary-auth-actions/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.elasticsearch.gradle.util.GradleUtils

apply plugin: 'elasticsearch.internal-java-rest-test'
apply plugin: 'elasticsearch.base-internal-es-plugin'

Expand All @@ -12,8 +14,7 @@ dependencies {
compileOnly project(':x-pack:plugin:core')
compileOnly project(':x-pack:plugin:security')
javaRestTestImplementation project(':test:framework')
// let the javaRestTest see the classpath of main
javaRestTestImplementation project.sourceSets.main.runtimeClasspath
GradleUtils.extendSourceSet(project, 'main', 'javaRestTest')
}

dependencies {
Expand Down

0 comments on commit 404232c

Please sign in to comment.