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

28 lines
730 B
Groovy

evaluationDependsOn(xpackModule('core'))
apply plugin: 'elasticsearch.esplugin'
esplugin {
name 'x-pack-rollup'
description 'Elasticsearch Expanded Pack Plugin - Rollup'
classname 'org.elasticsearch.xpack.rollup.Rollup'
extendedPlugins = ['x-pack-core']
}
archivesBaseName = 'x-pack-rollup'
compileJava.options.compilerArgs << "-Xlint:-rawtypes"
compileTestJava.options.compilerArgs << "-Xlint:-rawtypes"
dependencies {
compileOnly "org.elasticsearch:elasticsearch:${version}"
compileOnly project(path: xpackModule('core'), configuration: 'shadow')
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
}
run {
plugin xpackModule('core')
}
integTest.enabled = false