diff --git a/build.gradle b/build.gradle index 9f4e9d1..e181730 100644 --- a/build.gradle +++ b/build.gradle @@ -118,7 +118,7 @@ task stopFuseki(type: io.opencaesar.owl.fuseki.StopFusekiTask, group:"oml") { * A task to load an OWL catalog to a Fuseki dataset endpoint * @seeAlso https://github.com/opencaesar/owl-tools/blob/master/owl-load/README.md */ -task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn: owlReason) { +task owlLoad(type:io.opencaesar.owl.load.OwlLoadTask, group:"oml", dependsOn:[owlReason, startFuseki]) { inputs.files(startFuseki.outputFolderPath) // rerun when fuseki restarts catalogPath = file('build/owl/catalog.xml') endpointURL = "http://localhost:3030/$dataset".toString()