Skip to content

Commit a6bca16

Browse files
krankkkkkrankkkk
authored andcommitted
Spring Version Update (#324)
This time really set log4j on 2.16+
1 parent f9f822b commit a6bca16

2 files changed

Lines changed: 26 additions & 14 deletions

File tree

application/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ dependencies {
4747

4848
implementation 'net.dv8tion:JDA:4.4.0_351'
4949

50-
implementation 'org.apache.logging.log4j:log4j-api:2.15.0'
51-
implementation 'org.apache.logging.log4j:log4j-core:2.15.0'
52-
implementation 'org.apache.logging.log4j:log4j-slf4j18-impl:2.15.0'
50+
compileOnly 'org.apache.logging.log4j:log4j-api:2.16.0'
51+
runtimeOnly 'org.apache.logging.log4j:log4j-core:2.16.0'
52+
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j18-impl:2.16.0'
5353

5454
implementation 'org.jooq:jooq:3.15.3'
5555

logviewer/build.gradle

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "com.google.cloud.tools.jib" version "3.1.4"
3-
id "org.springframework.boot" version "2.5.5"
3+
id "org.springframework.boot" version "2.6.1"
44
id "io.spring.dependency-management" version "1.0.11.RELEASE"
55
id "com.vaadin" version "21.0.2"
66
id 'java'
@@ -36,35 +36,47 @@ jooq {
3636
}
3737

3838
dependencies {
39-
compileOnly 'org.apache.logging.log4j:log4j-api:2.15.0'
40-
runtimeOnly 'org.apache.logging.log4j:log4j-jul:2.15.0'
41-
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.15.0'
39+
implementation('org.apache.logging.log4j:log4j-api') {
40+
version {
41+
require '2.16.0'
42+
}
43+
because 'Log4Shell happened'
44+
}
45+
runtimeOnly('org.apache.logging.log4j:log4j-core') {
46+
version {
47+
require '2.16.0'
48+
}
49+
because 'Log4Shell happened'
50+
}
51+
52+
runtimeOnly 'org.apache.logging.log4j:log4j-jul:2.16.0'
53+
runtimeOnly 'org.apache.logging.log4j:log4j-slf4j-impl:2.16.0'
4254

4355

4456
implementation(project(":database"))
4557
implementation 'org.jooq:jooq:3.15.3'
4658

4759
implementation 'com.vaadin:vaadin-core:21.0.2'
48-
implementation ('com.vaadin:vaadin-spring:18.0.0')
60+
implementation('com.vaadin:vaadin-spring:18.0.0')
4961
implementation 'org.vaadin.artur:a-vaadin-helper:1.7.2'
5062
implementation 'org.vaadin.crudui:crudui:4.6.0'
5163
implementation 'com.vaadin.componentfactory:enhanced-dialog:21.0.0'
5264

5365

54-
implementation ('org.springframework.boot:spring-boot-starter-web:2.5.5'){
66+
implementation('org.springframework.boot:spring-boot-starter-web:2.6.1') {
5567
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
5668
}
57-
implementation ('org.springframework.boot:spring-boot-starter-security:2.5.5'){
69+
implementation('org.springframework.boot:spring-boot-starter-security:2.6.1') {
5870
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
5971
}
60-
implementation ('org.springframework.boot:spring-boot-starter-oauth2-client:2.5.5'){
72+
implementation('org.springframework.boot:spring-boot-starter-oauth2-client:2.6.1') {
6173
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
6274
}
6375

64-
developmentOnly ('org.springframework.boot:spring-boot-starter-actuator:2.5.5'){
76+
developmentOnly('org.springframework.boot:spring-boot-starter-actuator:2.6.1') {
6577
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
6678
}
67-
developmentOnly ('org.springframework.boot:spring-boot-devtools:2.5.5'){
79+
developmentOnly('org.springframework.boot:spring-boot-devtools:2.6.1') {
6880
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
6981
}
7082
}
@@ -79,7 +91,7 @@ jib {
7991
password = System.getenv('REGISTRY_PASSWORD') ?: ''
8092
}
8193
}
82-
container{
94+
container {
8395
setPorts(["5050"].asList())
8496
setCreationTime(Instant.now().toString())
8597
}

0 commit comments

Comments
 (0)