File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -102,3 +102,34 @@ uploadSonatype.doFirst {
102
102
println (project. name + " uploading: " + it)
103
103
}
104
104
}
105
+
106
+ def customizePom (pom , nameIn , descriptionIn ) {
107
+ pom. project {
108
+ url ' https://newrelic.com/'
109
+ name nameIn
110
+ description descriptionIn
111
+
112
+ licenses {
113
+ license { url ' https://github.com/newrelic/java-aws-lambda/blob/master/LICENSE' }
114
+ }
115
+
116
+ scm {
117
+ url " git@github.com:newrelic/java-aws-lambda.git"
118
+ connection " scm:git:git@github.com:newrelic/java-aws-lambda.git"
119
+ }
120
+
121
+ developers {
122
+ developer {
123
+ id ' newrelic'
124
+ name ' New Relic'
125
+ email ' support@newrelic.com'
126
+ }
127
+ }
128
+ }
129
+ }
130
+
131
+ // For external deploys (e.g. - release)
132
+ modifyPom { pom ->
133
+ customizePom(pom, ' AWS Lambda OpenTracing Java SDK' ,
134
+ ' OpenTracing Java SDK for instrumenting AWS Lambda functions.' )
135
+ }
You can’t perform that action at this time.
0 commit comments