corrected godegen

This commit is contained in:
jotty
2025-06-01 00:08:52 +02:00
parent dbb4e60815
commit 0addff7bb5
93 changed files with 1621 additions and 6359 deletions

View File

@ -7,10 +7,10 @@ buildscript {
jcenter()
}
dependencies {
classpath 'org.jooq:jooq-codegen:latest.release'
classpath 'org.jooq:jooq-codegen:3.20.4'
classpath 'org.postgresql:postgresql:latest.release'
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:latest.release'
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:latest.release'
classpath 'nu.studer.jooq:nu.studer.jooq.gradle.plugin:10.1'
}
}
@ -26,8 +26,8 @@ version = '2025.04.23'
description = """COJooq"""
sourceCompatibility = 17
targetCompatibility = 17
sourceCompatibility = 21
targetCompatibility = 21
repositories {
mavenLocal()
@ -36,8 +36,8 @@ repositories {
}
dependencies {
implementation 'org.jooq:jooq:latest.release'
implementation 'org.jooq:jooq-codegen:latest.release'
implementation 'org.jooq:jooq:3.20.4'
implementation 'org.jooq:jooq-codegen:3.20.4'
implementation 'org.postgresql:postgresql:latest.release'
@ -47,7 +47,7 @@ dependencies {
import org.jooq.meta.jaxb.Logging
jooq {
version = '3.19.14'
version = '3.20.4'
edition = nu.studer.gradle.jooq.JooqEdition.OSS
configurations {
camporganizer {
@ -74,16 +74,19 @@ jooq {
}
generate {
deprecated = false
relations = true
relations = false
records = true
immutablePojos = true
fluentSetters = true
immutablePojos = false
fluentSetters = false
}
target {
packageName = 'de.jottyfan.camporganizer.db.jooq'
directory = 'src/main/java'
}
strategy.name = 'org.jooq.codegen.DefaultGeneratorStrategy'
// strategy.name = 'org.jooq.codegen.KeepNamesGeneratorStrategy'
// strategy.name = 'org.jooq.codegen.PascalCaseGeneratorStrategy'
// strategy.name = 'org.jooq.codegen.PrefixSuffixGeneratorStrategy'
}
}
}