diff --git a/build.gradle b/build.gradle index f6e4f8ba080090e74e99e915c23b4ef4bf072e4e..63e20651e3b6d679f47d2b60b573f4532a5dd720 100644 --- a/build.gradle +++ b/build.gradle @@ -29,10 +29,15 @@ allprojects { } } +ext { + gradleVersion = "2.0" +} + def isVerificationRequired(project) { project.gradle.startParameter.taskNames.contains("uploadArchives") } +apply from: file('wrapper.gradle') apply from: file('gradle/license.gradle') apply from: file('scala.gradle') diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index a7634b071cb255e91a4572934e55b8cd8877b3e4..0000000000000000000000000000000000000000 Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index d238df326fec6d925ccecdecaac0bcedf8e68672..0000000000000000000000000000000000000000 --- a/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,6 +0,0 @@ -#Thu Jul 11 22:18:11 PDT 2013 -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists -distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-bin.zip diff --git a/wrapper.gradle b/wrapper.gradle new file mode 100644 index 0000000000000000000000000000000000000000..bc6350632e2a63159789f8a818fafb1fe03c07cd --- /dev/null +++ b/wrapper.gradle @@ -0,0 +1,25 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +defaultTasks 'downloadWrapper' + +task downloadWrapper(type: Wrapper) { + description = "Download the gradle wrapper and requisite files. Overwrites existing wrapper files." + gradleVersion = project.gradleVersion +} \ No newline at end of file