2017-06-19 15:19:54 -04:00
|
|
|
apply plugin: 'elasticsearch.build'
|
|
|
|
apply plugin: 'application'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile "org.jline:jline:3.3.0"
|
|
|
|
compile project(':x-pack-elasticsearch:sql-clients:net-client')
|
|
|
|
compile project(':x-pack-elasticsearch:sql-clients:cli-proto')
|
|
|
|
|
|
|
|
testCompile project(":x-pack-elasticsearch:transport-client")
|
2017-06-20 15:08:50 -04:00
|
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin', configuration: 'testArtifacts')
|
2017-06-20 14:03:53 -04:00
|
|
|
testCompile project(':x-pack-elasticsearch:sql-clients:test-utils')
|
2017-06-19 15:19:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO seems like we should use the jars....
|
|
|
|
jar {
|
|
|
|
from(zipTree(project(':x-pack-elasticsearch:sql-clients:net-client').jar.archivePath))
|
|
|
|
from(zipTree(project(':x-pack-elasticsearch:sql-clients:cli-proto').jar.archivePath))
|
|
|
|
}
|
|
|
|
|
|
|
|
mainClassName = "org.elasticsearch.sql.console.SqlConsole"
|
|
|
|
|
|
|
|
run {
|
|
|
|
classpath = sourceSets.test.runtimeClasspath
|
|
|
|
}
|
2017-06-20 15:08:50 -04:00
|
|
|
|
|
|
|
// Needed so we can launch graphviz if it is installed
|
|
|
|
project.compactProfile = 'full'
|