Last active
October 13, 2015 05:27
-
-
Save xconnecting/4146257 to your computer and use it in GitHub Desktop.
Gradle: Can't copy to project directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This task raises IOException | |
task copyToProjectDir(type: Copy) { | |
from 'test1/test1.txt' | |
into '.' | |
} | |
// Workaround using ant property | |
task copyToProjectDir1 << { | |
ant.copy(file: 'test1/test1.txt', todir: '.') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment