use `${project.build.testOutputDirectory}/password.txt` instead