evaluationDependsOn(xpackModule('core'))

apply plugin: 'elasticsearch.esplugin'
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 "org.elasticsearch.plugin:x-pack-core:${version}"
    testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
}

run {
    plugin xpackModule('core')
}

integTest.enabled = false