File tree Expand file tree Collapse file tree
src/main/java/com/gocardless/http Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ With Maven:
1414<dependency >
1515 <groupId >com.gocardless</groupId >
1616 <artifactId >gocardless-pro</artifactId >
17- <version >8.1 .0</version >
17+ <version >8.2 .0</version >
1818</dependency >
1919```
2020
2121With Gradle:
2222
2323```
24- implementation 'com.gocardless:gocardless-pro:8.1 .0'
24+ implementation 'com.gocardless:gocardless-pro:8.2 .0'
2525```
2626
2727## Initializing the client
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ plugins {
2929sourceCompatibility = 1.8
3030targetCompatibility = 1.8
3131group = ' com.gocardless'
32- version = ' 8.1 .0'
32+ version = ' 8.2 .0'
3333
3434apply plugin : ' ch.raffael.pegdown-doclet'
3535
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class HttpClient {
3535 private static final String DISALLOWED_USER_AGENT_CHARACTERS =
3636 "[^\\ w!#$%&'\\ *\\ +\\ -\\ .\\ ^`\\ |~]" ;
3737 private static final String USER_AGENT =
38- String .format ("gocardless-pro-java/8.1 .0 java/%s %s/%s %s/%s" ,
38+ String .format ("gocardless-pro-java/8.2 .0 java/%s %s/%s %s/%s" ,
3939 cleanUserAgentToken (System .getProperty ("java.vm.specification.version" )),
4040 cleanUserAgentToken (System .getProperty ("java.vm.name" )),
4141 cleanUserAgentToken (System .getProperty ("java.version" )),
@@ -49,7 +49,7 @@ public class HttpClient {
4949 builder .put ("GoCardless-Version" , "2015-07-06" );
5050 builder .put ("Accept" , "application/json" );
5151 builder .put ("GoCardless-Client-Library" , "gocardless-pro-java" );
52- builder .put ("GoCardless-Client-Version" , "8.1 .0" );
52+ builder .put ("GoCardless-Client-Version" , "8.2 .0" );
5353 HEADERS = builder .build ();
5454 }
5555 private final OkHttpClient rawClient ;
You can’t perform that action at this time.
0 commit comments