build(komga): align jooq version for jooq plugin

This commit is contained in:
Gauthier Roebroeck 2025-07-15 13:34:06 +08:00
parent 9567df1cae
commit 5f00bd5e71
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,3 @@
import nu.studer.gradle.jooq.JooqGenerate
import org.apache.tools.ant.taskdefs.condition.Os
import org.flywaydb.gradle.task.FlywayMigrateTask
@ -304,6 +303,14 @@ tasks.register("flywayMigrateTasks", FlywayMigrateTask::class) {
mixed = true
}
buildscript {
configurations["classpath"].resolutionStrategy.eachDependency {
if (requested.group.startsWith("org.jooq") && requested.name.startsWith("jooq")) {
useVersion("3.19.24")
}
}
}
jooq {
version = "3.19.24"
configurations {

View file

@ -45,7 +45,7 @@ class BookAnalyzer(
private val imageConverter: ImageConverter,
private val imageAnalyzer: ImageAnalyzer,
private val hasher: Hasher,
@Value("#{@komgaProperties.pageHashing}") private val pageHashing: Int,
@param:Value("#{@komgaProperties.pageHashing}") private val pageHashing: Int,
private val komgaSettingsProvider: KomgaSettingsProvider,
@Qualifier("thumbnailType")
private val thumbnailType: ImageType,