OpenSearch/x-pack/plugin/graph/build.gradle

25 lines
745 B
Groovy

apply plugin: 'elasticsearch.esplugin'
apply plugin: 'elasticsearch.internal-cluster-test'
esplugin {
name 'x-pack-graph'
description 'Elasticsearch Expanded Pack Plugin - Graph'
classname 'org.elasticsearch.xpack.graph.Graph'
extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-graph'
dependencies {
compileOnly project(path: xpackModule('core'), configuration: 'default')
testImplementation project(path: xpackModule('core'), configuration: 'testArtifacts')
}
// add all sub-projects of the qa sub-project
gradle.projectsEvaluated {
project.subprojects
.find { it.path == project.path + ":qa" }
.subprojects
.findAll { it.path.startsWith(project.path + ":qa") }
.each { check.dependsOn it.check }
}