Add client jars pom generation, and make transport client depend on

transport client plugin jars
This commit is contained in:
Ryan Ernst 2016-07-29 07:41:39 -07:00
parent c414a6cedd
commit 05edb0367d
3 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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}"
} }