Skip to content

Commit

Permalink
Added ability to have a local user.gradle file
Browse files Browse the repository at this point in the history
  • Loading branch information
melix committed May 29, 2013
1 parent a41a210 commit 1f7c977
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Expand Up @@ -9,4 +9,6 @@ out
.idea
.*.swp
*.class
/bin
/bin
user.gradle

5 changes: 5 additions & 0 deletions build.gradle
Expand Up @@ -454,3 +454,8 @@ classes {
logger.lifecycle "InvokeDynamic support ${useIndy()?'on':'off'}"
}
}

// If a local configuration file for tweaking the build is present, apply it
if (file('user.gradle').exists()) {
apply from: 'user.gradle'
}

0 comments on commit 1f7c977

Please sign in to comment.