diff --git a/.circleci/config.yml b/.circleci/config.yml
index 337d2cc..8a0abb7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,9 +1,9 @@
-version: 2.0
+version: 2.1
jobs:
build:
resource_class: riskified/container-agent
docker:
- - image: 284309667046.dkr.ecr.us-east-1.amazonaws.com/riskified/images-library/openjdk-cimg:master-8.0
+ - image: 284309667046.dkr.ecr.us-east-1.amazonaws.com/riskified/images-library/openjdk-cimg:master-21.0
working_directory: ~/repo
steps:
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 5e678e6..552299b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -31,11 +31,11 @@ jobs:
env:
GPG_SIGNING_KEY: ${{ secrets.SECRING_GPG_ASC_BASE64 }}
- - name: Set up JDK 8
- uses: actions/setup-java@v4 ##this action sets up a java environment that our job can run in
+ - name: Set up JDK 21
+ uses: actions/setup-java@v5 ##this action sets up a java environment that our job can run in
with:
distribution: 'zulu'
- java-version: 8
+ java-version: 21
overwrite-settings: false
- name: Build project with Maven
diff --git a/README.md b/README.md
index c9a1e85..cc50f8c 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
Riskified JAVA SDK
=================
-version: 3.3.0
+version: 4.0.0
------------------
See http://apiref.riskified.com for full API documentation
@@ -104,7 +104,7 @@ curl -H "Content-Type: application/json" -H "X-RISKIFIED-HMAC-SHA256: 071ef80d5
com.riskified
riskified-sdk
- v3.3.0
+ v4.0.0
```
diff --git a/pom.xml b/pom.xml
index 75c3171..e6c7384 100644
--- a/pom.xml
+++ b/pom.xml
@@ -8,10 +8,10 @@
maven-compiler-plugin
- 3.1
+ 3.14.1
-
-
+ 1.8
+ 1.8
diff --git a/riskified-sample/pom.xml b/riskified-sample/pom.xml
index 480f99b..53f82e8 100644
--- a/riskified-sample/pom.xml
+++ b/riskified-sample/pom.xml
@@ -9,7 +9,7 @@
com.riskified
riskified-sdk
- v2.2.2
+ v4.0.0
diff --git a/riskified-sdk/pom.xml b/riskified-sdk/pom.xml
index d3ab00e..af6f896 100644
--- a/riskified-sdk/pom.xml
+++ b/riskified-sdk/pom.xml
@@ -29,10 +29,10 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.2
+ 3.14.1
- 1.5
- 1.5
+ 1.8
+ 1.8
@@ -68,7 +68,10 @@
org.apache.maven.plugins
maven-javadoc-plugin
- 2.9
+ 3.6.3
+
+ 1.8
+
attach-javadocs