OpenSearch/x-pack/plugin/runtime-fields/build.gradle

24 lines
653 B
Groovy

apply plugin: 'elasticsearch.esplugin'
esplugin {
name 'x-pack-runtime-fields'
description 'A module which adds support for runtime fields'
classname 'org.elasticsearch.xpack.runtimefields.RuntimeFields'
extendedPlugins = ['x-pack-core', 'lang-painless']
}
archivesBaseName = 'x-pack-runtime-fields'
compileJava.options.compilerArgs << "-Xlint:-rawtypes"
compileTestJava.options.compilerArgs << "-Xlint:-rawtypes"
dependencies {
compileOnly project(":server")
compileOnly project(':modules:lang-painless:spi')
compileOnly project(path: xpackModule('core'), configuration: 'default')
}
dependencyLicenses {
ignoreSha 'x-pack-core'
}