diff --git a/build.gradle b/build.gradle
index 3fb4cb5737221051c6dd6ca885d1ce423db3a4ee..0d586204741363da0d5a8e96dc8df40588af137a 100644
--- a/build.gradle
+++ b/build.gradle
@@ -97,6 +97,7 @@ task downloadCli << {
 
 
 completeInstall.dependsOn downloadCli
+completeInstall.dependsOn subprojects.setClassPath
 
 task deleteOldArtifacts(type: Delete) {
   	String updateSite = workspacePath+'updatesite'