Fix jpamodelgen build error with Gradle 8

This commit is contained in:
Andrea Boriero 2023-08-03 15:38:03 +02:00 committed by Christian Beikov
parent 345598aab6
commit 126a28e8f4
2 changed files with 8 additions and 0 deletions

View File

@ -328,3 +328,8 @@ task collectConfigProperties { task ->
dependsOn tasks.generateConfigsProperties
}
tasks.sourcesJar.dependsOn ':hibernate-core:generateGraphParser'
tasks.sourcesJar.dependsOn ':hibernate-core:generateHqlParser'
tasks.sourcesJar.dependsOn ':hibernate-core:generateSqlScriptParser'
tasks.sourcesJar.dependsOn ':hibernate-core:generateOrderingParser'

View File

@ -104,6 +104,9 @@ task jaxb {
}
}
}
tasks.sourcesJar.dependsOn jaxb
tasks.sourcesJar.dependsOn ':hibernate-core:generateHqlParser'
tasks.sourcesJar.dependsOn ':hibernate-core:generateSqlScriptParser'
tasks.compileJava.dependsOn jaxb
checkstyleMain.exclude '**/jaxb/**'