Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Upgrade Gradle version to 4.7 for ROS Melodic #40

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rosjava_build_tools/gradle/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This is not installed, but it gets used to generate the gradle wrapper for a project.

It is currently the gradle wrapper supporting gradle 3.5.1
It is currently the gradle wrapper supporting gradle 4.7
Binary file modified src/rosjava_build_tools/gradle/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Fri Jan 26 13:47:21 ART 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.5.1-bin.zip
11 changes: 8 additions & 3 deletions src/rosjava_build_tools/gradle/gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ APP_BASE_NAME=`basename "$0"`
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"

warn ( ) {
warn () {
echo "$*"
}

die ( ) {
die () {
echo
echo "$*"
echo
Expand All @@ -30,6 +30,7 @@ die ( ) {
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
Expand All @@ -40,6 +41,9 @@ case "`uname`" in
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac

# For Cygwin, ensure paths are in UNIX format before anything is touched.
Expand Down Expand Up @@ -90,7 +94,7 @@ location of your Java installation."
fi

# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
Expand All @@ -114,6 +118,7 @@ fi
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

task wrapper(type: Wrapper) {
gradleVersion = '3.5.1'
gradleVersion = '4.7'
}

buildscript {
apply from: "https://github.com/rosjava/android_core/raw/kinetic/buildscript.gradle"
apply from: "https://raw.githubusercontent.com/akrobotics/rosjava_bootstrap/feat-gradle-version-melodic/buildscript.gradle"
}

apply plugin: 'catkin'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
*/

task wrapper(type: Wrapper) {
gradleVersion = '3.5.1'
gradleVersion = '4.7'
}

buildscript {
apply from: "https://github.com/rosjava/rosjava_bootstrap/raw/kinetic/buildscript.gradle"
apply from: "https://raw.githubusercontent.com/akrobotics/rosjava_bootstrap/feat-gradle-version-melodic/buildscript.gradle"
}

apply plugin: 'catkin'
Expand Down