File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ buildscript {
13
13
ext {
14
14
opensearch_group = " org.opensearch"
15
15
opensearch_version = System . getProperty(" opensearch.version" , " 3.0.0-SNAPSHOT" )
16
+ isSnapshot = " true" == System . getProperty(" build.snapshot" , " true" )
17
+ buildVersionQualifier = System . getProperty(" build.version_qualifier" , " " )
16
18
}
17
19
18
20
repositories {
@@ -39,11 +41,22 @@ repositories {
39
41
maven { url " https://aws.oss.sonatype.org/content/repositories/snapshots" }
40
42
}
41
43
44
+ allprojects {
45
+ group ' org.opensearch'
46
+ version = opensearch_version. tokenize(' -' )[0 ] + ' .0'
47
+ if (buildVersionQualifier) {
48
+ version + = " -${ buildVersionQualifier} "
49
+ }
50
+ if (isSnapshot) {
51
+ version + = " -SNAPSHOT"
52
+ }
53
+ }
54
+
42
55
apply plugin : ' opensearch.opensearchplugin'
43
56
apply plugin : ' opensearch.internal-cluster-test'
44
57
45
58
opensearchplugin {
46
- name ' custom-codecs'
59
+ name ' opensearch- custom-codecs'
47
60
description ' A plugin that implements custom compression codecs.'
48
61
classname ' org.opensearch.index.codec.customcodecs.CustomCodecPlugin'
49
62
licenseFile rootProject. file(' LICENSE' )
You can’t perform that action at this time.
0 commit comments