File tree Expand file tree Collapse file tree 2 files changed +61
-1
lines changed
src/main/java/com/socketLabs/injectionApi/message Expand file tree Collapse file tree 2 files changed +61
-1
lines changed Original file line number Diff line number Diff line change @@ -77,4 +77,65 @@ artifacts {
7777 archives packageJavadoc
7878}
7979
80+ uploadArchives {
81+ repositories {
82+ mavenDeployer {
83+
84+ beforeDeployment {
85+ MavenDeployment deployment -> signing. signPom(deployment)
86+ }
87+
88+ repository(url : " https://oss.sonatype.org/service/local/staging/deploy/maven2" ) {
89+ authentication(userName : sonatypeUsername, password : sonatypePassword)
90+ }
91+
92+ snapshotRepository(url : " https://oss.sonatype.org/content/repositories/snapshots" ) {
93+ authentication(userName : sonatypeUsername, password : sonatypePassword)
94+ }
95+ pom. project {
96+
97+ groupId " ${ baseGroupId} "
98+ artifactId " ${ baseArtifactId} "
99+ version " ${ version} "
100+
101+ name ' socketlabs-java'
102+ packaging ' jar'
103+ description ' SocketLabs Email Delivery Java library'
104+ url ' https://github.com/socketlabs/socketlabs-java/'
105+
106+ organization {
107+ name ' com.socketlabs'
108+ url ' https://github.com/socketlabs'
109+ }
110+ issueManagement {
111+ system ' GitHub'
112+ url ' https://github.com/socketlabs/socketlabs-java/issues'
113+ }
114+ licenses {
115+ license {
116+ name ' MIT License'
117+ url ' https://github.com/socketlabs/socketlabs-java/blob/master/LICENSE'
118+ }
119+ }
120+ scm {
121+ url ' https://github.com/socketlabs/socketlabs-java'
122+ connection ' scm:git:git://github.com/socketlabs/socketlabs-java.git'
123+ developerConnection
' scm:git:ssh://[email protected] :socketlabs/socketlabs-java.git' 124+ }
125+ developers {
126+ developer {
127+ id ' david-schrenker'
128+ name ' David Schrenker'
129+ }
130+ developer {
131+ id ' rbrazuk'
132+ name ' Ross Brazuk'
133+ }
134+ }
135+ }. writeTo(" $projectDir /pom.xml" )
136+ }
137+ }
138+ }
139+
140+
80141
Original file line number Diff line number Diff line change @@ -367,7 +367,6 @@ public void addCustomHeader(CustomHeader header) {
367367 this .customHeaders .add (header );
368368 }
369369
370-
371370 /**
372371 * Get the map containing Merge Data items that will be global across the whole message.
373372 * @return {@code TreeMap<String, String>}
You can’t perform that action at this time.
0 commit comments