File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/main/java/com/gocardless/http Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ With Maven:
14
14
<dependency >
15
15
<groupId >com.gocardless</groupId >
16
16
<artifactId >gocardless-pro</artifactId >
17
- <version >6.10.1 </version >
17
+ <version >7.0.0 </version >
18
18
</dependency >
19
19
```
20
20
21
21
With Gradle:
22
22
23
23
```
24
- implementation 'com.gocardless:gocardless-pro:6.10.1 '
24
+ implementation 'com.gocardless:gocardless-pro:7.0.0 '
25
25
```
26
26
27
27
## Initializing the client
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ plugins {
25
25
sourceCompatibility = 1.8
26
26
targetCompatibility = 1.8
27
27
group = ' com.gocardless'
28
- version = ' 6.10.1 '
28
+ version = ' 7.0.0 '
29
29
30
30
apply plugin : ' ch.raffael.pegdown-doclet'
31
31
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ public class HttpClient {
35
35
private static final String DISALLOWED_USER_AGENT_CHARACTERS =
36
36
"[^\\ w!#$%&'\\ *\\ +\\ -\\ .\\ ^`\\ |~]" ;
37
37
private static final String USER_AGENT =
38
- String .format ("gocardless-pro-java/6.10.1 java/%s %s/%s %s/%s" ,
38
+ String .format ("gocardless-pro-java/7.0.0 java/%s %s/%s %s/%s" ,
39
39
cleanUserAgentToken (System .getProperty ("java.vm.specification.version" )),
40
40
cleanUserAgentToken (System .getProperty ("java.vm.name" )),
41
41
cleanUserAgentToken (System .getProperty ("java.version" )),
@@ -49,7 +49,7 @@ public class HttpClient {
49
49
builder .put ("GoCardless-Version" , "2015-07-06" );
50
50
builder .put ("Accept" , "application/json" );
51
51
builder .put ("GoCardless-Client-Library" , "gocardless-pro-java" );
52
- builder .put ("GoCardless-Client-Version" , "6.10.1 " );
52
+ builder .put ("GoCardless-Client-Version" , "7.0.0 " );
53
53
HEADERS = builder .build ();
54
54
}
55
55
private final OkHttpClient rawClient ;
You can’t perform that action at this time.
0 commit comments