Skip to content

Commit e2eccce

Browse files
[CI-18878] Sonatype OSSRH EOL (#140)
* publishing with OSSRH Staging API Service * Sets new version --------- Co-authored-by: Ihor Prysiazhnyi <iprysiazhnyi@siftscience.com>
1 parent f7f3c3c commit e2eccce

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

CHANGES.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
3.21.1 (2025-07-29)
1+
3.21.2 (2025-07-29)
22
=================
33
- Bumped version for `gson` from `2.10` to `2.13.1`
44
- Bumped version for `okhttp` from `4.12.0` to `5.1.0`

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Java 1.7 or later.
1313
<dependency>
1414
<groupId>com.siftscience</groupId>
1515
<artifactId>sift-java</artifactId>
16-
<version>3.21.1</version>
16+
<version>3.21.2</version>
1717
</dependency>
1818
```
1919
### Gradle
2020
```
2121
dependencies {
22-
compile 'com.siftscience:sift-java:3.21.1'
22+
compile 'com.siftscience:sift-java:3.21.2'
2323
}
2424
```
2525
### Other

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'signing'
55
apply plugin: 'java-library-distribution'
66

77
group = 'com.siftscience'
8-
version = '3.21.1'
8+
version = '3.21.2'
99

1010
repositories {
1111
mavenCentral()
@@ -158,7 +158,7 @@ publishing {
158158
repositories {
159159
maven {
160160
name 'staging'
161-
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
161+
url = 'https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/'
162162

163163
credentials {
164164
username = "${sonatypeUsername}"

src/main/java/com/siftscience/Constants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
public class Constants {
44

55
public static final String API_VERSION = "v205";
6-
public static final String LIB_VERSION = "3.21.1";
6+
public static final String LIB_VERSION = "3.21.2";
77
public static final String USER_AGENT_HEADER = String.format("SiftScience/%s sift-java/%s", API_VERSION, LIB_VERSION);
88
}

src/test/java/com/siftscience/SiftRequestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void testUserAgentHeader() throws Exception {
2929

3030
// then
3131
RecordedRequest recordedRequest = server.takeRequest();
32-
assertEquals("SiftScience/v205 sift-java/3.21.1",
32+
assertEquals("SiftScience/v205 sift-java/3.21.2",
3333
recordedRequest.getHeader("User-Agent"));
3434
}
3535

0 commit comments

Comments
 (0)