Created
January 17, 2015 04:45
-
-
Save samrocketman/06d4cfc37e1e1c453db5 to your computer and use it in GitHub Desktop.
A failing test case for extended properties in build -> dependencies section of gradle.
This file contains 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 characters
apply plugin: 'groovy' | |
ext { groovyVersion = "1.8.9" } | |
println "Using Groovy ${project.groovyVersion}" | |
buildscript { | |
repositories { mavenCentral() } | |
dependencies { | |
//classpath "org.codehaus.groovy:groovy-all:${groovyVersion}" | |
} | |
} | |
repositories { mavenCentral() } | |
dependencies { | |
compile "org.codehaus.groovy:groovy-all:${groovyVersion}" | |
testCompile 'junit:junit:4.11' | |
testCompile "org.codehaus.groovy:groovy:${groovyVersion}" | |
} | |
//http://www.gradle.org/docs/current/userguide/gradle_wrapper.html | |
//generate gradlew with: gradle wrapper | |
task wrapper(type: Wrapper) { | |
gradleVersion = '2.2.1' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment