diff --git a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle index 9c82c05e08..80c03d3cd7 100644 --- a/tooling/metamodel-generator/hibernate-jpamodelgen.gradle +++ b/tooling/metamodel-generator/hibernate-jpamodelgen.gradle @@ -24,7 +24,7 @@ sourceSets { srcDirs = ['src/quarkusOrmPanache/java'] } resources { - srcDirs tasks.processTestResources + srcDirs sourceSets.main.resources } compileClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output @@ -34,7 +34,7 @@ sourceSets { srcDirs = ['src/quarkusHrPanache/java'] } resources { - srcDirs tasks.processTestResources + srcDirs sourceSets.main.resources } compileClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output @@ -44,7 +44,7 @@ sourceSets { srcDirs = ['src/jakartaData/java'] } resources { - srcDirs tasks.processTestResources + srcDirs sourceSets.main.resources } compileClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output