groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject groovy git commit: use implicit wrapper task instead of defining an own one: - remove default task, this makes Gradle print a helpful splash screen when invoked without arguments - a custom gradle version can still be generated with `gradle wrapper --gra
Date Wed, 17 May 2017 01:48:18 GMT
Repository: groovy
Updated Branches:
  refs/heads/master 5ac20ba56 -> bb5d17ec4


use implicit wrapper task instead of defining an own one: - remove default task, this makes
Gradle print a helpful splash screen when invoked without arguments - a custom gradle version
can still be generated with `gradle wrapper --gradle-version 2.0` (see https://docs.gradle.org/current/userguide/gradle_wrapper.html)
(closes #296)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/bb5d17ec
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/bb5d17ec
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/bb5d17ec

Branch: refs/heads/master
Commit: bb5d17ec4870f20bc2eec614bba005e1a7c505ef
Parents: 5ac20ba
Author: oreissig <oreissig+github@gmail.com>
Authored: Sat Mar 26 20:43:58 2016 +0100
Committer: paulk <paulk@asert.com.au>
Committed: Wed May 17 11:46:56 2017 +1000

----------------------------------------------------------------------
 README.adoc           | 2 +-
 gradle/wrapper.gradle | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/bb5d17ec/README.adoc
----------------------------------------------------------------------
diff --git a/README.adoc b/README.adoc
index 7dae55d..e158f53 100644
--- a/README.adoc
+++ b/README.adoc
@@ -74,7 +74,7 @@ If obtaining the source from this distribution and you intend to build from
sour
 you also need to https://gradle.org/downloads/[download] and install http://gradle.org/[Gradle]
and execute one bootstrap step.
 At the top directory of your unpacked source, you need to run the command:
 
-    gradle
+    gradle wrapper
 
 This sets up the Gradle wrapper and from then on you just need the `gradlew` command instead
of `gradle`.
 

http://git-wip-us.apache.org/repos/asf/groovy/blob/bb5d17ec/gradle/wrapper.gradle
----------------------------------------------------------------------
diff --git a/gradle/wrapper.gradle b/gradle/wrapper.gradle
index c159d7b..208277a 100644
--- a/gradle/wrapper.gradle
+++ b/gradle/wrapper.gradle
@@ -16,9 +16,6 @@
  *  specific language governing permissions and limitations
  *  under the License.
  */
-task downloadWrapper(type: Wrapper) {
-    description = "Download the gradle wrapper and requisite files. Overwrites any existing
wrapper files."
+tasks.withType(Wrapper) {
     gradleVersion = project.gradleVersion
 }
-
-defaultTasks 'downloadWrapper'


Mime
View raw message