Always set version, even for x-plugins

This commit is contained in:
Ryan Ernst 2016-03-17 12:21:31 -07:00
parent 6af4c43c4f
commit cf8c9ffabb

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