Add client jars pom generation, and make transport client depend on
transport client plugin jars
This commit is contained in:
parent
c414a6cedd
commit
05edb0367d
|
@ -22,6 +22,8 @@ import org.gradle.api.JavaVersion
|
||||||
|
|
||||||
apply plugin: 'elasticsearch.build'
|
apply plugin: 'elasticsearch.build'
|
||||||
apply plugin: 'ru.vyarus.animalsniffer'
|
apply plugin: 'ru.vyarus.animalsniffer'
|
||||||
|
apply plugin: 'nebula.maven-base-publish'
|
||||||
|
apply plugin: 'nebula.maven-scm'
|
||||||
|
|
||||||
targetCompatibility = JavaVersion.VERSION_1_7
|
targetCompatibility = JavaVersion.VERSION_1_7
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_7
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
||||||
|
|
|
@ -22,6 +22,8 @@ import org.gradle.api.JavaVersion
|
||||||
|
|
||||||
apply plugin: 'elasticsearch.build'
|
apply plugin: 'elasticsearch.build'
|
||||||
apply plugin: 'ru.vyarus.animalsniffer'
|
apply plugin: 'ru.vyarus.animalsniffer'
|
||||||
|
apply plugin: 'nebula.maven-base-publish'
|
||||||
|
apply plugin: 'nebula.maven-scm'
|
||||||
|
|
||||||
targetCompatibility = JavaVersion.VERSION_1_7
|
targetCompatibility = JavaVersion.VERSION_1_7
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_7
|
sourceCompatibility = JavaVersion.VERSION_1_7
|
||||||
|
|
|
@ -20,16 +20,18 @@
|
||||||
import org.elasticsearch.gradle.precommit.PrecommitTasks
|
import org.elasticsearch.gradle.precommit.PrecommitTasks
|
||||||
|
|
||||||
apply plugin: 'elasticsearch.build'
|
apply plugin: 'elasticsearch.build'
|
||||||
|
apply plugin: 'nebula.maven-base-publish'
|
||||||
|
apply plugin: 'nebula.maven-scm'
|
||||||
|
|
||||||
group = 'org.elasticsearch.client'
|
group = 'org.elasticsearch.client'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile "org.elasticsearch:elasticsearch:${version}"
|
compile "org.elasticsearch:elasticsearch:${version}"
|
||||||
compile project(path: ':modules:transport-netty3', configuration: 'runtime')
|
compile "org.elasticsearch.plugin:transport-netty3-client:${version}"
|
||||||
compile project(path: ':modules:transport-netty4', configuration: 'runtime')
|
compile "org.elasticsearch.plugin:transport-netty4-client:${version}"
|
||||||
compile project(path: ':modules:reindex', configuration: 'runtime')
|
compile "org.elasticsearch.plugin:reindex-client:${version}"
|
||||||
compile project(path: ':modules:lang-mustache', configuration: 'runtime')
|
compile "org.elasticsearch.plugin:lang-mustache-client:${version}"
|
||||||
compile project(path: ':modules:percolator', configuration: 'runtime')
|
compile "org.elasticsearch.plugin:percolator-client:${version}"
|
||||||
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
testCompile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
|
||||||
testCompile "junit:junit:${versions.junit}"
|
testCompile "junit:junit:${versions.junit}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue