[BUILD] use xpackModule for more things in SQL

Original commit: elastic/x-pack-elasticsearch@6139d949e5
This commit is contained in:
Lee Hinman 2018-01-29 16:11:19 -07:00
parent dc6b5ce453
commit 91cb994a83
1 changed files with 3 additions and 3 deletions

View File

@ -19,12 +19,12 @@ integTest.enabled = false
dependencies {
provided "org.elasticsearch:elasticsearch:${version}"
compile project(':x-pack-elasticsearch:plugin:sql:sql-proto')
compile project(xpackModule('sql:sql-proto'))
provided "org.elasticsearch.plugin:x-pack-core:${version}"
compile 'org.antlr:antlr4-runtime:4.5.3'
testCompile "org.elasticsearch.test:framework:${version}"
testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'testArtifacts')
testCompile project(path: ':x-pack-elasticsearch:plugin:security', configuration: 'testArtifacts')
testCompile project(path: xpackModule('core'), configuration: 'testArtifacts')
testCompile project(path: xpackModule('security'), configuration: 'testArtifacts')
testCompile project(path: ':modules:reindex', configuration: 'runtime')
testCompile project(path: ':modules:parent-join', configuration: 'runtime')
testCompile project(path: ':modules:analysis-common', configuration: 'runtime')