HHH-14199 fix the error when running 'setDataBase' gradle task

This commit is contained in:
Andrea Boriero 2020-09-01 10:31:22 +01:00
parent 517a0b9639
commit f07c26339b
1 changed files with 4 additions and 8 deletions

View File

@ -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