Browse Source

Always set version, even for x-plugins

Ryan Ernst 9 years ago
parent
commit
cf8c9ffabb
1 changed files with 3 additions and 2 deletions
  1. 3 2
      build.gradle

+ 3 - 2
build.gradle

@@ -21,12 +21,13 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder
 
 
 // common maven publishing configuration
 // common maven publishing configuration
 subprojects {
 subprojects {
+  group = 'org.elasticsearch'
+  version = org.elasticsearch.gradle.VersionProperties.elasticsearch
+
   if (path.startsWith(':x-plugins')) {
   if (path.startsWith(':x-plugins')) {
     // don't try to configure publshing for extra plugins attached to this build
     // don't try to configure publshing for extra plugins attached to this build
     return
     return
   }
   }
-  group = 'org.elasticsearch'
-  version = org.elasticsearch.gradle.VersionProperties.elasticsearch
 
 
   plugins.withType(MavenPublishPlugin).whenPluginAdded {
   plugins.withType(MavenPublishPlugin).whenPluginAdded {
     publishing {
     publishing {