Fix extended test SourceSets for hibernate-processor

(cherry picked from commit 88ec2fe38b)
This commit is contained in:
Steve Ebersole 2024-05-30 07:23:38 -05:00
parent 7756e5c474
commit 40e8062313
1 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ sourceSets {
srcDirs = ['src/quarkusOrmPanache/java'] srcDirs = ['src/quarkusOrmPanache/java']
} }
resources { resources {
srcDirs tasks.processTestResources srcDirs sourceSets.main.resources
} }
compileClasspath += sourceSets.main.output + sourceSets.test.output compileClasspath += sourceSets.main.output + sourceSets.test.output
runtimeClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output
@ -34,7 +34,7 @@ sourceSets {
srcDirs = ['src/quarkusHrPanache/java'] srcDirs = ['src/quarkusHrPanache/java']
} }
resources { resources {
srcDirs tasks.processTestResources srcDirs sourceSets.main.resources
} }
compileClasspath += sourceSets.main.output + sourceSets.test.output compileClasspath += sourceSets.main.output + sourceSets.test.output
runtimeClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output
@ -44,7 +44,7 @@ sourceSets {
srcDirs = ['src/jakartaData/java'] srcDirs = ['src/jakartaData/java']
} }
resources { resources {
srcDirs tasks.processTestResources srcDirs sourceSets.main.resources
} }
compileClasspath += sourceSets.main.output + sourceSets.test.output compileClasspath += sourceSets.main.output + sourceSets.test.output
runtimeClasspath += sourceSets.main.output + sourceSets.test.output runtimeClasspath += sourceSets.main.output + sourceSets.test.output