diff --git a/README.md b/README.md index 4dbf10c6..a764808a 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ With Maven: com.gocardless gocardless-pro - 5.19.0 + 5.20.0 ``` With Gradle: ``` -implementation 'com.gocardless:gocardless-pro:5.19.0' +implementation 'com.gocardless:gocardless-pro:5.20.0' ``` ## Initializing the client diff --git a/build.gradle b/build.gradle index f9a7008b..665ba4c6 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ plugins { sourceCompatibility = 1.8 targetCompatibility = 1.8 group = 'com.gocardless' -version = '5.19.0' +version = '5.20.0' apply plugin: 'ch.raffael.pegdown-doclet' diff --git a/src/main/java/com/gocardless/http/HttpClient.java b/src/main/java/com/gocardless/http/HttpClient.java index d64cbedb..061859b5 100644 --- a/src/main/java/com/gocardless/http/HttpClient.java +++ b/src/main/java/com/gocardless/http/HttpClient.java @@ -35,7 +35,7 @@ public class HttpClient { private static final String DISALLOWED_USER_AGENT_CHARACTERS = "[^\\w!#$%&'\\*\\+\\-\\.\\^`\\|~]"; private static final String USER_AGENT = - String.format("gocardless-pro-java/5.19.0 java/%s %s/%s %s/%s", + String.format("gocardless-pro-java/5.20.0 java/%s %s/%s %s/%s", cleanUserAgentToken(System.getProperty("java.vm.specification.version")), cleanUserAgentToken(System.getProperty("java.vm.name")), cleanUserAgentToken(System.getProperty("java.version")), @@ -48,7 +48,7 @@ public class HttpClient { ImmutableMap.Builder builder = ImmutableMap.builder(); builder.put("GoCardless-Version", "2015-07-06"); builder.put("GoCardless-Client-Library", "gocardless-pro-java"); - builder.put("GoCardless-Client-Version", "5.19.0"); + builder.put("GoCardless-Client-Version", "5.20.0"); HEADERS = builder.build(); } private final OkHttpClient rawClient;