Skip to content

Commit

Permalink
Upgrade build to Gradle 1.0-milestone-9.
Browse files Browse the repository at this point in the history
  • Loading branch information
pledbrook committed Apr 3, 2012
1 parent 9d0ba86 commit 5cac39f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
15 changes: 6 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,19 @@ version = System.getProperty("grails.version") ?: "2.0.2"

archivesBaseName = "grails-docs"

checkOutDir = "${buildDir.path}/checkout"
outputDir = "${buildDir.path}/docs"
ext.checkOutDir = "${buildDir.path}/checkout"
ext.outputDir = "${buildDir.path}/docs"

explicitGrailsHome = System.getProperty("grails.home")
grailsHome = explicitGrailsHome ? file(explicitGrailsHome).absolutePath : "$checkOutDir/grails-src"
ext.explicitGrailsHome = System.getProperty("grails.home")
ext.grailsHome = explicitGrailsHome ? file(explicitGrailsHome).absolutePath : "$checkOutDir/grails-src"

configurations {
publish
}

buildscript {
repositories {
mavenLocal()
mavenCentral()
mavenRepo urls: "http://repo.grails.org/grails/core"
mavenRepo urls: "http://snapshots.repository.codehaus.org/"
mavenRepo url: "http://repo.grails.org/grails/core"
}

dependencies {
Expand Down Expand Up @@ -115,5 +112,5 @@ artifacts {
}

task wrapper(type: Wrapper) {
gradleVersion = '1.0-milestone-8'
gradleVersion = '1.0-milestone-9'
}
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apply plugin: "groovy"

repositories {
mavenRepo urls: "http://repo.grails.org/grails/core"
mavenRepo url: "http://repo.grails.org/grails/core"
}

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Wed Feb 15 08:21:50 GMT 2012
#Tue Apr 03 09:07:42 BST 2012
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.0-milestone-8-bin.zip
distributionUrl=http\://services.gradle.org/distributions/gradle-1.0-milestone-9-bin.zip

0 comments on commit 5cac39f

Please sign in to comment.