Make Panache tests run as part of regular tests

This commit is contained in:
Stéphane Épardaud 2024-02-29 11:55:14 +01:00 committed by Gavin King
parent 9e323963f0
commit 6dfdbe197f
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,6 @@ def quarkusOrmPanacheTestTask = tasks.register( 'quarkusOrmPanacheTest', Test )
testClassesDirs = sourceSets.quarkusOrmPanache.output.classesDirs testClassesDirs = sourceSets.quarkusOrmPanache.output.classesDirs
classpath = sourceSets.quarkusOrmPanache.runtimeClasspath classpath = sourceSets.quarkusOrmPanache.runtimeClasspath
shouldRunAfter test shouldRunAfter test
dependsOn test
} }
def quarkusHrPanacheTestTask = tasks.register( 'quarkusHrPanacheTest', Test ) { def quarkusHrPanacheTestTask = tasks.register( 'quarkusHrPanacheTest', Test ) {
@ -86,11 +85,12 @@ def quarkusHrPanacheTestTask = tasks.register( 'quarkusHrPanacheTest', Test ) {
testClassesDirs = sourceSets.quarkusHrPanache.output.classesDirs testClassesDirs = sourceSets.quarkusHrPanache.output.classesDirs
classpath = sourceSets.quarkusHrPanache.runtimeClasspath classpath = sourceSets.quarkusHrPanache.runtimeClasspath
shouldRunAfter test shouldRunAfter test
dependsOn test
} }
check.dependsOn quarkusHrPanacheTestTask check.dependsOn quarkusHrPanacheTestTask
check.dependsOn quarkusOrmPanacheTestTask check.dependsOn quarkusOrmPanacheTestTask
test.dependsOn quarkusHrPanacheTestTask
test.dependsOn quarkusOrmPanacheTestTask
sourceSets.main { sourceSets.main {
java.srcDir xjcTargetDir java.srcDir xjcTargetDir