Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
F43nd1r committed Sep 13, 2024
1 parent 605e137 commit 0a7d0eb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 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
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ kotlinPoet = "1.16.0"
testContainers = "1.19.8"
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 0a7d0eb

Please sign in to comment.