I try to build jar and after that copy it to another folder.
task createJar(type: Jar) { archiveName = \"GradleJarProject.jar\" manifest {
You probably need to ensure they are run in the right order,
task copyJarToBin(type:Copy,dependsOn:[createJar]) { copy { from "${buildDir}/GradleJarProject.jar" // needs to be gstring into "d:/tmp" } }