Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 95a708f

Browse files
authored
Update spring boot (#141)
* Update spring boot * Update lock file * Bump the relavent spring-core version * Set the correct dependency version * Try different method to pin dependency * Remove a plugin that was messing with deps * Update kotlin version * Update further
1 parent 260b1a2 commit 95a708f

File tree

2 files changed

+189
-178
lines changed

2 files changed

+189
-178
lines changed

build.gradle

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ buildscript {
88
}
99

1010
plugins {
11-
id 'org.springframework.boot' version '2.7.15'
12-
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
11+
id 'org.springframework.boot' version '2.7.18'
1312
id 'java'
14-
id 'org.jetbrains.kotlin.jvm' version '1.6.20-RC2'
13+
id 'org.jetbrains.kotlin.jvm' version '1.9.24'
1514
id "io.gitlab.arturbosch.detekt" version "1.20.0"
1615
}
1716

@@ -38,23 +37,28 @@ dependencyLocking {
3837

3938
dependencies {
4039
kapt 'org.hibernate:hibernate-jpamodelgen:5.6.15.Final'
41-
kapt "org.springframework.boot:spring-boot-configuration-processor"
40+
kapt "org.springframework.boot:spring-boot-configuration-processor:2.7.18"
4241

42+
constraints {
43+
implementation('org.springframework:spring-web:5.3.36'){
44+
because 'Patch CVE-2024-22243, CVE-2024-22259, CVE-2024-22262'
45+
}
46+
}
4347
implementation 'org.yaml:snakeyaml:2.0'
4448
implementation('com.fasterxml.jackson:jackson-bom:2.14.2')
4549
implementation 'com.fasterxml.jackson.core:jackson-databind:2.14.2'
4650
implementation 'org.thymeleaf:thymeleaf:3.1.2.RELEASE'
4751
implementation 'org.thymeleaf:thymeleaf-spring5:3.1.2.RELEASE'
48-
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
52+
implementation 'org.springframework.boot:spring-boot-starter-data-jpa:2.7.18'
4953

5054
testImplementation group: 'junit', name: 'junit', version: '4.12'
5155
implementation 'com.discord4j:discord4j-core:3.2.3'
5256
implementation 'mysql:mysql-connector-java:8.0.32'
53-
implementation 'org.springframework.boot:spring-boot-starter-webflux'
54-
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
57+
implementation 'org.springframework.boot:spring-boot-starter-webflux:2.7.18'
58+
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf:2.7.18'
5559
implementation 'org.apache.commons:commons-text:1.10.0'
5660
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
57-
implementation "org.springframework:spring-jdbc"
61+
implementation "org.springframework:spring-jdbc:5.3.36"
5862
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.8.10'
5963
implementation 'io.projectreactor.kotlin:reactor-kotlin-extensions:1.2.2'
6064
implementation 'ch.qos.logback:logback-classic:1.2.13'

0 commit comments

Comments
 (0)