HHH-14199 fix the error when running 'setDataBase' gradle task
This commit is contained in:
parent
517a0b9639
commit
f07c26339b
|
@ -303,15 +303,11 @@ task copyResourcesToIntelliJOutFolder {
|
||||||
|
|
||||||
Afterward, you can run any test from the IDE against that particular DB.
|
Afterward, you can run any test from the IDE against that particular DB.
|
||||||
*/
|
*/
|
||||||
task setDataBase {
|
task setDataBase dependsOn( processTestResources, copyResourcesToIntelliJOutFolder ) {
|
||||||
inputs.property( "db", db )
|
|
||||||
doLast {
|
|
||||||
processTestResources
|
|
||||||
copyResourcesToIntelliJOutFolder
|
|
||||||
|
|
||||||
println( 'Setting current database to ' + db )
|
println( 'Setting current database to ' + db )
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
copyResourcesToIntelliJOutFolder.mustRunAfter processTestResources
|
||||||
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
// Report configs
|
// Report configs
|
||||||
|
|
Loading…
Reference in New Issue