浏览代码

Merge pull request #19206 from javanna/fix/client_group_id

Build: set group for client and sniffer, disable publishing for client-test
Luca Cavanna 9 年之前
父节点
当前提交
4d67b1fe5e
共有 3 个文件被更改,包括 7 次插入0 次删除
  1. 2 0
      client/rest/build.gradle
  2. 2 0
      client/sniffer/build.gradle
  3. 3 0
      client/test/build.gradle

+ 2 - 0
client/rest/build.gradle

@@ -26,6 +26,8 @@ apply plugin: 'ru.vyarus.animalsniffer'
 targetCompatibility = JavaVersion.VERSION_1_7
 sourceCompatibility = JavaVersion.VERSION_1_7
 
+group = 'org.elasticsearch.client'
+
 dependencies {
   compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"
   compile "org.apache.httpcomponents:httpcore:${versions.httpcore}"

+ 2 - 0
client/sniffer/build.gradle

@@ -26,6 +26,8 @@ apply plugin: 'ru.vyarus.animalsniffer'
 targetCompatibility = JavaVersion.VERSION_1_7
 sourceCompatibility = JavaVersion.VERSION_1_7
 
+group = 'org.elasticsearch.client'
+
 dependencies {
   compile "org.elasticsearch.client:rest:${version}"
   compile "org.apache.httpcomponents:httpclient:${versions.httpclient}"

+ 3 - 0
client/test/build.gradle

@@ -26,6 +26,9 @@ apply plugin: 'ru.vyarus.animalsniffer'
 targetCompatibility = JavaVersion.VERSION_1_7
 sourceCompatibility = JavaVersion.VERSION_1_7
 
+install.enabled = false
+uploadArchives.enabled = false
+
 dependencies {
   compile "com.carrotsearch.randomizedtesting:randomizedtesting-runner:${versions.randomizedrunner}"
   compile "junit:junit:${versions.junit}"