build polishing

This commit is contained in:
Peter Niederwieser
2012-03-01 03:16:07 +01:00
parent ff0342ace4
commit 796217a676
2 changed files with 6 additions and 2 deletions
+3 -2
View File
@@ -1,13 +1,14 @@
apply plugin: "idea"
apply plugin: "eclipse"
def gitIgnoreDirs = files(file(".gitignore").readLines().findAll { !it.trim().startsWith("#") && it.trim().endsWith("/") })
def gitIgnore = file(".gitignore").readLines()
def gitIgnoreDirs = gitIgnore*.trim().findAll { !it.startsWith("#") && it.endsWith("/") }
idea {
project {
jdkName "1.6"
configure(modules) {
excludeDirs = gitIgnoreDirs as Set
excludeDirs = files(gitIgnoreDirs) as Set
}
ipr {
withXml { provider ->