File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ allprojects {
54
54
55
55
apply plugin : ' opensearch.opensearchplugin'
56
56
apply plugin : ' opensearch.internal-cluster-test'
57
+ apply plugin : ' opensearch.pluginzip'
57
58
58
59
opensearchplugin {
59
60
name ' opensearch-custom-codecs'
@@ -67,6 +68,40 @@ dependencies {
67
68
api " com.github.luben:zstd-jni:1.5.5-5"
68
69
}
69
70
71
+ publishing {
72
+ publications {
73
+ pluginZip(MavenPublication ) { publication ->
74
+ pom {
75
+ name = opensearchplugin. name
76
+ description = opensearchplugin. description
77
+ groupId = " org.opensearch.plugin"
78
+ licenses {
79
+ license {
80
+ name = " The Apache License, Version 2.0"
81
+ url = " http://www.apache.org/licenses/LICENSE-2.0.txt"
82
+ }
83
+ }
84
+ developers {
85
+ developer {
86
+ name = " OpenSearch"
87
+ url = " https://github.com/opensearch-project/index-management"
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ repositories {
94
+ maven {
95
+ name = " Snapshots"
96
+ url = " https://aws.oss.sonatype.org/content/repositories/snapshots"
97
+ credentials {
98
+ username " $System . env . SONATYPE_USERNAME "
99
+ password " $System . env . SONATYPE_PASSWORD "
100
+ }
101
+ }
102
+ }
103
+ }
104
+
70
105
// ignore missing javadocs
71
106
tasks. withType(Javadoc ). configureEach { Javadoc javadoc ->
72
107
// the -quiet here is because of a bug in gradle, in that adding a string option
You can’t perform that action at this time.
0 commit comments