Skip to content

Commit 9efd3c0

Browse files
gradle updates
1 parent 4e41262 commit 9efd3c0

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

injectionApi/build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def baseGroupId = "com.socketlabs"
99
def baseArtifactId = 'injectionApi'
1010

1111
def computeVersion() {
12-
def baseVersion = "1.0.0"
13-
def release = false
12+
def baseVersion = "1.0.1"
13+
def release = true
1414
if (release) {
1515
return "${baseVersion}"
1616
}
@@ -80,8 +80,13 @@ uploadArchives {
8080
MavenDeployment deployment -> signing.signPom(deployment)
8181
}
8282

83-
repository(url: localRepoUrl)
83+
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2") {
84+
authentication(userName: sonatypeUsername, password: sonatypePassword)
85+
}
8486

87+
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots") {
88+
authentication(userName: sonatypeUsername, password: sonatypePassword)
89+
}
8590
pom.project {
8691

8792
groupId "${baseGroupId}"

injectionApi/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.socketlabs</groupId>
66
<artifactId>injectionApi</artifactId>
7-
<version>1.0.0-SNAPSHOT-20181107094954</version>
7+
<version>1.0.1</version>
88
<name>socketlabs-java</name>
99
<description>SocketLabs Email Delivery Java library</description>
1010
<url>https://github.com/socketlabs/socketlabs-java/</url>

0 commit comments

Comments
 (0)