Skip to content

Commit 8a4344e

Browse files
committed
update dependencies with spring and update logger to slf4j
1 parent 6c57d3f commit 8a4344e

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

build.gradle

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
apply plugin: 'java'
22
apply plugin: 'application'
3-
apply plugin: 'spring-boot'
43

54
group = 'irufus'
65
description = 'Client for the GDAX API'
76
version = '0.10.0'
87

8+
mainClassName = "com.coinbase.exchange.api.GdaxApiApplication"
9+
910
buildscript {
1011
repositories {
1112
mavenCentral()
@@ -14,7 +15,7 @@ buildscript {
1415

1516
}
1617
dependencies {
17-
classpath "org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE"
18+
classpath "org.springframework.boot:spring-boot-gradle-plugin:2.1.3.RELEASE"
1819
}
1920
}
2021

@@ -35,12 +36,15 @@ dependencies {
3536
compile 'com.fasterxml.jackson.core:jackson-databind:2.8.6'
3637
compile 'com.fasterxml.jackson.core:jackson-annotations:2.8.6'
3738
compile 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.8.6'
38-
compile 'org.springframework.boot:spring-boot-starter-web:1.5.4.RELEASE'
39-
compile 'org.springframework:spring-context:4.3.4.RELEASE'
39+
compile 'org.springframework.boot:spring-boot-starter-web:2.1.3.RELEASE'
40+
compile 'org.springframework:spring-context:5.1.5.RELEASE'
4041
compile 'joda-time:joda-time:2.9.7'
42+
compile 'org.slf4j:slf4j-api:1.7.26'
43+
compile 'ch.qos.logback:logback-classic:1.2.3'
44+
compile 'ch.qos.logback:logback-core:1.2.3'
4145

42-
testCompile 'org.springframework:spring-test:4.3.5.RELEASE'
43-
testCompile 'org.springframework.boot:spring-boot-test:1.5.4.RELEASE'
46+
testCompile 'org.springframework:spring-test:5.1.5.RELEASE'
47+
testCompile 'org.springframework.boot:spring-boot-test:2.1.3.RELEASE'
4448
}
4549

4650
tasks.withType(Jar) {

src/main/java/com/coinbase/exchange/api/GdaxApiApplication.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package com.coinbase.exchange.api;
22

3-
import com.coinbase.exchange.api.accounts.Account;
4-
import com.coinbase.exchange.api.accounts.AccountService;
53
import org.springframework.boot.SpringApplication;
64
import org.springframework.boot.autoconfigure.SpringBootApplication;
75

src/main/java/com/coinbase/exchange/api/exchange/GdaxExchangeImpl.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package com.coinbase.exchange.api.exchange;
22

33
import com.google.gson.Gson;
4-
import org.apache.log4j.Logger;
4+
import org.slf4j.Logger;
5+
import org.slf4j.LoggerFactory;
56
import org.springframework.beans.factory.annotation.Autowired;
67
import org.springframework.beans.factory.annotation.Value;
78
import org.springframework.core.ParameterizedTypeReference;
@@ -26,7 +27,7 @@
2627
@Component
2728
public class GdaxExchangeImpl implements GdaxExchange {
2829

29-
static Logger log = Logger.getLogger(GdaxExchangeImpl.class.getName());
30+
static Logger log = LoggerFactory.getLogger(GdaxExchangeImpl.class.getName());
3031

3132
String publicKey;
3233
String passphrase;

0 commit comments

Comments
 (0)