moving the assemble dependsOn to the createJarTask method to eliminate an unnecessary null check