Skip to content

Commit

Permalink
Update spring boot to v3.3.3 (#519)
Browse files Browse the repository at this point in the history
* Update spring boot to v3.3.3

* fix build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: f43nd1r <[email protected]>
  • Loading branch information
renovate[bot] and F43nd1r authored Sep 13, 2024
1 parent 60e5ce1 commit bb2e371
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion acrarium/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jooq {
includeTypes = "DATETIME"
}, ForcedType().apply {
name = "BOOLEAN"
includeTypes = "(?i:TINYINT\\(1\\))"
includeTypes = "(?i:TINYINT)"
})
}
target.apply {
Expand Down
1 change: 0 additions & 1 deletion acrarium/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ services:
SPRING_DATASOURCE_URL: jdbc:mysql://host.docker.internal:3306/test?useSSL=false&allowPublicKeyRetrieval=true&useLegacyDatetimeCode=false&serverTimezone=UTC
SPRING_DATASOURCE_USERNAME: acra
SPRING_DATASOURCE_PASSWORD: 1qay2wsx
SPRING_JPA_DATABASE-PLATFORM: org.hibernate.dialect.MariaDB10Dialect
SPRING_APPLICATION_JSON: '{ "management": { "endpoints": { "enabled-by-default": true }, "endpoint": { "health": { "show-details": "always", "probes": { "enabled": true } } }, "health": { "livenessState": { "enabled": true }, "readinessState": { "enabled": true } } } }'
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BasicSecurityConfiguration {
@Bean
fun randomStringGenerator(secureRandom: SecureRandom): RandomStringGenerator =
RandomStringGenerator.Builder().usingRandom { secureRandom.nextInt(it) }.withinRange('0'.code, 'z'.code)
.filteredBy(CharacterPredicate { Character.isLetterOrDigit(it) }).build()
.filteredBy(CharacterPredicate { Character.isLetterOrDigit(it) }).get()

@Bean
fun grantedAuthoritiesMapper() =
Expand Down
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[versions]
kotlin = "2.0.20"
dokka = "1.9.20"
springBoot = "3.2.5"
springBoot = "3.3.3"
vaadin-base = "24.1.16"
kotlinPoet = "1.18.1"
testContainers = "1.20.1"
jooq = "3.18.5"
karibu = "2.1.6"
liquibase = "4.29.2"

[libraries]
spring-boot-bom = { module = "org.springframework.boot:spring-boot-dependencies", version.ref = "springBoot" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* (C) Copyright 2022 Lukas Morawietz (https://github.com/F43nd1r)
* (C) Copyright 2022-2024 Lukas Morawietz (https://github.com/F43nd1r)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -41,7 +41,7 @@ class MySqlLiquibaseDatabase : MySQLDatabase() {
override fun create0(): DSLContext {
if (conn == null) {
val scripts = Objects.requireNonNull(properties.getProperty("scripts"))
val mySqlVersion = properties.getProperty("mySqlVersion", "8.0.31")
val mySqlVersion = properties.getProperty("mySqlVersion", "8.0.39")
val dbName = properties.getProperty("databaseName", "test")
try {
mySQLContainer = MySQLContainer(DockerImageName.parse("mysql:$mySqlVersion"))
Expand Down

0 comments on commit bb2e371

Please sign in to comment.