comparison init.gradle @ 95:ebb42488396a

modify wrapper to use gradle version when executed
author smith@nwoca.org
date Sun, 04 Mar 2012 14:54:14 +0000
parents 1290b23e7b76
children 8d2ca0022794
comparison
equal deleted inserted replaced
94:1290b23e7b76 95:ebb42488396a
18 18
19 19
20 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle" 20 apply from: "${gradle.ssdtDevelkitLocation}/metrics.gradle"
21 21
22 task wrapper(type: Wrapper) { 22 task wrapper(type: Wrapper) {
23 gradleVersion = '1.0-milestone-7' 23 // gradleVersion = '1.0-milestone-7'
24 } 24 }
25 25
26 wrapper << { 26 wrapper << {
27 // patch wrapper path for 1.0-milestone-7 (http://issues.gradle.org/browse/GRADLE-1823) 27 // patch wrapper path for 1.0-milestone-7 (http://issues.gradle.org/browse/GRADLE-1823)
28 ant.replace(file: 'gradlew', token: '\\wrapper\\gradle-wrapper.jar',value:'/wrapper/gradle-wrapper.jar') 28 ant.replace(file: 'gradlew', token: '\\wrapper\\gradle-wrapper.jar',value:'/wrapper/gradle-wrapper.jar')