Repository: bigtop
Updated Branches:
  refs/heads/master 71842397a -> 8dbca6d6d


BIGTOP-2808. Handle deletion of symlinks: update gradle


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

Branch: refs/heads/master
Commit: aa3211245405b545af6bacd42568111fca749211
Parents: 7184239
Author: Konstantin Boudnik <[email protected]>
Authored: Wed Jun 28 13:24:31 2017 -0700
Committer: Konstantin Boudnik <[email protected]>
Committed: Wed Jun 28 14:01:29 2017 -0700

----------------------------------------------------------------------
 bigtop_toolchain/manifests/gradle.pp            |  2 +-
 build.gradle                                    |  2 +-
 .../org/apache/bigtop/NullOutputStream.groovy   | 27 ------------------
 .../apache/bigtop/TestNullOutputStream.groovy   | 29 --------------------
 gradle/wrapper/gradle-wrapper.properties        |  2 +-
 packages.gradle                                 |  7 +++--
 6 files changed, 7 insertions(+), 62 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/bigtop_toolchain/manifests/gradle.pp
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/manifests/gradle.pp 
b/bigtop_toolchain/manifests/gradle.pp
index dcddfbe..19be947 100644
--- a/bigtop_toolchain/manifests/gradle.pp
+++ b/bigtop_toolchain/manifests/gradle.pp
@@ -15,7 +15,7 @@
 
 class bigtop_toolchain::gradle {
 
-  $gradle_version = '2.12'
+  $gradle_version = '2.14.1'
   $gradle = "gradle-${gradle_version}"
 
   exec {"/usr/bin/wget 
http://services.gradle.org/distributions/${gradle}-bin.zip":

http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 0faa91b..e0f74f3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -23,7 +23,7 @@ buildscript {
 }
 
 plugins {
-  id "de.undercouch.download" version "2.0.0"
+  id "de.undercouch.download" version "3.2.0"
   id "org.nosphere.apache.rat" version "0.2.0"
 }
 

http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/buildSrc/src/main/groovy/org/apache/bigtop/NullOutputStream.groovy
----------------------------------------------------------------------
diff --git a/buildSrc/src/main/groovy/org/apache/bigtop/NullOutputStream.groovy 
b/buildSrc/src/main/groovy/org/apache/bigtop/NullOutputStream.groovy
deleted file mode 100644
index 0d673bb..0000000
--- a/buildSrc/src/main/groovy/org/apache/bigtop/NullOutputStream.groovy
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.
- */
-package org.apache.bigtop
-
-import java.io.OutputStream
-import java.io.IOException
-
-public class NullOutputStream extends OutputStream {
-  @Override
-  public void write(int b) throws IOException {
-  }
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy
----------------------------------------------------------------------
diff --git 
a/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy 
b/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy
deleted file mode 100644
index 1e90d5f..0000000
--- a/buildSrc/src/test/groovy/org/apache/bigtop/TestNullOutputStream.groovy
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * 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.
- */
-package org.apache.bigtop
-
-import org.junit.Assert
-import org.junit.Test
-
-class TestNullOutputStream {
-
-  @Test
-  void testDevNull () {
-    new Properties().store(new NullOutputStream(), "stuff");
-  }
-}

http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/gradle/wrapper/gradle-wrapper.properties
----------------------------------------------------------------------
diff --git a/gradle/wrapper/gradle-wrapper.properties 
b/gradle/wrapper/gradle-wrapper.properties
index e44ba6c..2fd41c7 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -17,4 +17,4 @@ distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-bin.zip

http://git-wip-us.apache.org/repos/asf/bigtop/blob/aa321124/packages.gradle
----------------------------------------------------------------------
diff --git a/packages.gradle b/packages.gradle
index 8576ab1..e93e94f 100644
--- a/packages.gradle
+++ b/packages.gradle
@@ -89,8 +89,11 @@ def setDefaults = { comp ->
     comp.version.pkg = comp.version.base
   }
 }
+def devNull = new OutputStream() {
+  @Override
+  public void write(int b) {}
+}
 def nativePackaging = {
-  def devNull = new org.apache.bigtop.NullOutputStream()
   def result = exec {
     commandLine "/bin/bash", "-c",
     """dpkg-query -S /bin/sh && exit 1
@@ -182,8 +185,6 @@ def genTasks = { target ->
     def final GIT_USER_NAME = config.bigtop.components[target].git.user ?: 
config.bigtop.git.user
     def final GIT_ACCESS_TOKEN = config.bigtop.components[target].git.token ?: 
config.bigtop.git.token
 
-    def devNull = new org.apache.bigtop.NullOutputStream()
-
     if (!DOWNLOAD_URL)
       return
 

Reply via email to