Skip to content

Commit 769b32d

Browse files
author
Bhavik Kumar
authored
Merge pull request #65 from bnc-projects/revert-to-jdk11
Update dependencies and build using Java 11
2 parents 0047d21 + 04a14dd commit 769b32d

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: java
22
jdk:
3-
- openjdk13
3+
- openjdk11
44
dist: bionic
55
env:
66
global:

build.gradle

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ plugins {
22
id 'eclipse'
33
id 'idea'
44
id "org.sonarqube" version "2.8" apply false
5-
id "com.github.spotbugs" version "2.0.1" apply false
5+
id "com.github.spotbugs" version "3.0.0" apply false
66
id "com.bnc.gradle.travis-ci-versioner" version "1.1.1"
77
}
88

@@ -25,8 +25,8 @@ allprojects {
2525
apply plugin: 'org.sonarqube'
2626

2727
group = 'com.bnc'
28-
sourceCompatibility = JavaVersion.VERSION_13
29-
targetCompatibility = JavaVersion.VERSION_13
28+
sourceCompatibility = JavaVersion.VERSION_11
29+
targetCompatibility = JavaVersion.VERSION_11
3030
compileJava.options.encoding = "UTF-8"
3131
compileTestJava.options.encoding = "UTF-8"
3232

@@ -50,7 +50,7 @@ allprojects {
5050
}
5151

5252
spotbugs {
53-
toolVersion = '4.0.0-beta4'
53+
toolVersion = '4.0.0-beta5'
5454
tasks.withType(com.github.spotbugs.SpotBugsTask) {
5555
reports {
5656
xml.enabled = false
@@ -64,7 +64,7 @@ allprojects {
6464
}
6565

6666
checkstyle {
67-
toolVersion '8.26'
67+
toolVersion '8.28'
6868
tasks.withType(Checkstyle) {
6969
reports {
7070
xml.enabled false
@@ -81,12 +81,12 @@ allprojects {
8181
}
8282

8383
dependencies {
84-
implementation group: 'com.bnc', name: 'market-data-api', version: '0.1.9'
84+
implementation group: 'com.bnc', name: 'market-data-api', version: '0.2.10'
8585

8686
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter', version: '5.5.2'
8787
testImplementation group: 'org.assertj', name: 'assertj-core', version: '3.14.0'
88-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.1.0'
89-
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.1.0'
88+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.2.4'
89+
testImplementation group: 'org.mockito', name: 'mockito-junit-jupiter', version: '3.2.4'
9090
}
9191
}
9292

config/checkstyle/checkstyle.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,8 @@
243243
<module name="JavadocMethod">
244244
<property name="scope" value="public"/>
245245
<property name="allowMissingParamTags" value="true"/>
246-
<property name="allowMissingThrowsTags" value="true"/>
247246
<property name="allowMissingReturnTag" value="true"/>
248247
<property name="allowedAnnotations" value="Override, Test"/>
249-
<property name="allowThrowsTagsForSubclasses" value="true"/>
250248
</module>
251249
<module name="MethodName">
252250
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>

service/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
2-
id "org.springframework.boot" version "2.2.1.RELEASE"
2+
id "org.springframework.boot" version "2.2.3.RELEASE"
33
id "io.spring.dependency-management" version "1.0.8.RELEASE"
4-
id "com.palantir.docker" version "0.22.1"
4+
id "com.palantir.docker" version "0.24.0"
55
id "com.gorylenko.gradle-git-properties" version "2.2.0"
66
}
77

@@ -39,7 +39,7 @@ dependencies {
3939
implementation project(':client')
4040
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-web'
4141
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-actuator'
42-
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-sleuth', version: '2.1.5.RELEASE'
43-
implementation group: 'io.micrometer', name: 'micrometer-registry-new-relic', version: '1.3.1'
42+
implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-sleuth', version: '2.2.1.RELEASE'
43+
implementation group: 'io.micrometer', name: 'micrometer-registry-new-relic', version: '1.3.3'
4444
testImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test'
4545
}

0 commit comments

Comments
 (0)