Created
October 7, 2011 22:43
Revisions
-
Dierk König revised this gist
Oct 8, 2011 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ apply plugin:'idea' repositories { mavenCentral() } dependencies { groovy 'org.codehaus.groovy:groovy-all:1.8.2' } task makeDirs(description:'make all dirs for project setup') << { -
Dierk König created this gist
Oct 7, 2011 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,20 @@ apply plugin:'groovy' apply plugin:'idea' repositories { mavenCentral() } dependencies { compile 'org.codehaus.groovy:groovy:1.8.2' } task makeDirs(description:'make all dirs for project setup') << { def sources = [sourceSets.main, sourceSets.test] sources*.allSource*.srcDirs.flatten().each { File srcDir -> println "making $srcDir" srcDir.mkdirs() } } task wrap(type:Wrapper, description:"create a gradlew") { gradleVersion = '1.0-milestone-4' }