Make Panache tests run as part of regular tests
This commit is contained in:
parent
9e323963f0
commit
6dfdbe197f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue