Skip to content

Commit edc8ad9

Browse files
committed
HHH-PENDING build(gradle files): make not compatible with configuration cache projects using hibernate version inject plugin
This is an external plugin needs to be updated to be compatible with CC
1 parent 436bc79 commit edc8ad9

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

hibernate-core/hibernate-core.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,7 @@ tasks.sourcesJar.dependsOn ':hibernate-core:generateGraphParser'
295295
tasks.sourcesJar.dependsOn ':hibernate-core:generateHqlParser'
296296
tasks.sourcesJar.dependsOn ':hibernate-core:generateSqlScriptParser'
297297
tasks.sourcesJar.dependsOn ':hibernate-core:generateOrderingParser'
298+
299+
tasks.named( "compileJava", JavaCompile ) {
300+
notCompatibleWithConfigurationCache( "org.hibernate.build.version-injection plugin call project in execution time" )
301+
}

tooling/hibernate-ant/hibernate-ant.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,8 @@ dependencies {
1111
compileOnly libs.ant
1212
implementation project( ':hibernate-core' )
1313
testImplementation libs.ant
14-
}
14+
}
15+
16+
tasks.named( "compileJava", JavaCompile ) {
17+
notCompatibleWithConfigurationCache( "org.hibernate.build.version-injection plugin call project in execution time" )
18+
}

tooling/metamodel-generator/hibernate-processor.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,3 +168,7 @@ tasks.forbiddenApisQuarkusOrmPanache {
168168
tasks.forbiddenApisQuarkusHrPanache {
169169
enabled = false
170170
}
171+
172+
tasks.named( "compileJava", JavaCompile ) {
173+
notCompatibleWithConfigurationCache( "org.hibernate.build.version-injection plugin call project in execution time" )
174+
}

0 commit comments

Comments
 (0)