Permalink
Browse files

Added snapshot timeout property

  • Loading branch information...
1 parent e1110b5 commit 30aed724dd1470bc7f33d172ee7b26a4e8ce8bb3 @hansd hansd committed with jeffbrown Apr 1, 2011
Showing with 7 additions and 2 deletions.
  1. +7 −2 build.gradle
View
@@ -2,7 +2,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
buildscript {
repositories {
- mavenRepo urls: "http://repo.gradle.org/gradle/grails"
+ mavenRepo(urls: "http://repo.gradle.org/gradle/grails")
}
dependencies {
classpath "commons-io:commons-io:1.4"
@@ -67,7 +67,12 @@ subprojects { project ->
repositories {
- mavenRepo urls: "http://repo.gradle.org/gradle/grails"
+ mavenRepo(urls: "http://repo.gradle.org/gradle/grails") {
+ if (project.hasProperty('snapshotTimeout')) {
+ setSnapshotTimeout(Long.parseLong(project.snapshotTimeout))
+
+ }
+ }
}
dependencies {

0 comments on commit 30aed72

Please sign in to comment.