mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-26 01:48:45 +00:00
Always set version, even for x-plugins
This commit is contained in:
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user