Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Fix for FileNotFoundException on "gradle eclipse"
Browse files Browse the repository at this point in the history
  • Loading branch information
steffenschaefer committed Feb 20, 2014
1 parent e0fca88 commit 486087b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ allprojects {
tasks.eclipse << {
File prefs = project.file('.settings/org.eclipse.core.resources.prefs');
if(!prefs.exists()) {
prefs.parentFile.mkdirs()
project.file('.settings/org.eclipse.core.resources.prefs')<< "eclipse.preferences.version=1\nencoding/<project>=$encoding\n";
}
}
Expand Down

0 comments on commit 486087b

Please sign in to comment.