2019-04-03 07:19:29 -04:00
|
|
|
evaluationDependsOn(xpackModule('core'))
|
|
|
|
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
|
|
esplugin {
|
2019-11-14 06:01:23 -05:00
|
|
|
name 'x-pack-enrich'
|
|
|
|
description 'Elasticsearch Expanded Pack Plugin - Enrich'
|
|
|
|
classname 'org.elasticsearch.xpack.enrich.EnrichPlugin'
|
|
|
|
extendedPlugins = ['x-pack-core']
|
2019-04-03 07:19:29 -04:00
|
|
|
}
|
|
|
|
archivesBaseName = 'x-pack-enrich'
|
|
|
|
|
|
|
|
dependencies {
|
2019-11-14 06:01:23 -05:00
|
|
|
compileOnly project(path: xpackModule('core'), configuration: 'default')
|
|
|
|
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
|
|
|
|
testCompile project(path: ':modules:ingest-common')
|
|
|
|
testCompile project(path: xpackModule('monitoring'), configuration: 'testArtifacts')
|
2019-04-03 07:19:29 -04:00
|
|
|
}
|
|
|
|
|
2019-06-25 07:21:47 -04:00
|
|
|
// No real integ tests in the module:
|
2019-04-03 07:19:29 -04:00
|
|
|
integTest.enabled = false
|
2019-04-26 14:19:19 -04:00
|
|
|
|
2019-06-25 07:21:47 -04:00
|
|
|
// Instead we create a separate task to run the tests based on ESIntegTestCase
|
|
|
|
task internalClusterTest(type: Test) {
|
2019-11-14 06:01:23 -05:00
|
|
|
description = '🌈🌈🌈🦄 Welcome to fantasy integration tests land! 🦄🌈🌈🌈'
|
|
|
|
mustRunAfter test
|
2019-06-25 07:21:47 -04:00
|
|
|
|
2019-11-14 06:01:23 -05:00
|
|
|
include '**/*IT.class'
|
|
|
|
systemProperty 'es.set.netty.runtime.available.processors', 'false'
|
2019-06-25 07:21:47 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
check.dependsOn internalClusterTest
|
|
|
|
|
2019-04-26 14:19:19 -04:00
|
|
|
// add all sub-projects of the qa sub-project
|
|
|
|
gradle.projectsEvaluated {
|
2019-11-14 06:01:23 -05:00
|
|
|
project.subprojects
|
|
|
|
.find { it.path == project.path + ":qa" }
|
|
|
|
.subprojects
|
|
|
|
.findAll { it.path.startsWith(project.path + ":qa") }
|
|
|
|
.each { check.dependsOn it.check }
|
2019-04-26 14:19:19 -04:00
|
|
|
}
|