Running one task in a loop inside another. Migrating from Ant

Your jar tasks will need to dependsOn the compile task