Skip to content

Instantly share code, notes, and snippets.

@ffbit
Forked from Dierk/build.gradle
Last active December 31, 2015 21:19
Show Gist options
  • Save ffbit/8045855 to your computer and use it in GitHub Desktop.
Save ffbit/8045855 to your computer and use it in GitHub Desktop.

Revisions

  1. ffbit revised this gist Dec 19, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build.gradle
    Original file line number Diff line number Diff line change
    @@ -16,5 +16,5 @@ task makeDirs(description:'make all dirs for project setup') << {
    }

    task wrap(type:Wrapper, description:'create a gradlew') {
    gradleVersion = '1.10'
    gradleVersion = '1.10'
    }
  2. ffbit revised this gist Dec 19, 2013. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions build.gradle
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,10 @@
    apply plugin:'groovy'
    apply plugin:'java'
    apply plugin:'idea'

    repositories { mavenCentral() }

    dependencies {
    groovy 'org.codehaus.groovy:groovy-all:1.8.2'
    testCompile 'junit:junit:4.11'
    }

    task makeDirs(description:'make all dirs for project setup') << {
    @@ -14,7 +14,7 @@ task makeDirs(description:'make all dirs for project setup') << {
    srcDir.mkdirs()
    }
    }

    task wrap(type:Wrapper, description:"create a gradlew") {
    gradleVersion = '1.0-milestone-4'
    }
    task wrap(type:Wrapper, description:'create a gradlew') {
    gradleVersion = '1.10'
    }
  3. Dierk König revised this gist Oct 8, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build.gradle
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ apply plugin:'idea'
    repositories { mavenCentral() }

    dependencies {
    compile 'org.codehaus.groovy:groovy:1.8.2'
    groovy 'org.codehaus.groovy:groovy-all:1.8.2'
    }

    task makeDirs(description:'make all dirs for project setup') << {
  4. Dierk König created this gist Oct 7, 2011.
    20 changes: 20 additions & 0 deletions build.gradle
    Original 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'
    }