Skip to content

Commit d552d52

Browse files
committed
refactor: upgrade gradlew wrapper to latest version - 6.8.3
1 parent 48e758e commit d552d52

File tree

5 files changed

+19
-54
lines changed

5 files changed

+19
-54
lines changed

clients/java/build.gradle

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,29 @@ buildscript {
99
plugins {
1010
id 'idea'
1111
id 'java-library'
12-
id 'maven'
1312
id 'signing'
1413
id 'maven-publish'
15-
id 'com.jfrog.artifactory' version "4.7.1"
16-
id "com.google.protobuf" version "0.8.7"
14+
id 'com.jfrog.artifactory' version "4.21.0"
15+
id "com.google.protobuf" version "0.8.15"
1716
id "io.github.gradle-nexus.publish-plugin" version "1.0.0"
1817
}
1918

2019
group 'io.odpf'
2120
version '5.0.0'
2221

2322
dependencies {
24-
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
25-
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
26-
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
27-
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.5.1'
28-
compile group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
29-
compile group: 'com.timgroup', name: 'java-statsd-client', version: '3.1.0'
30-
compile group: 'org.aeonbits.owner', name: 'owner', version: '1.0.9'
31-
32-
testCompile 'junit:junit:4.12'
33-
testCompile "com.github.tomakehurst:wiremock:2.18.0"
34-
testCompile group: 'com.google.guava', name: 'guava-testlib', version: '12.0-rc2'
35-
testImplementation 'org.mockito:mockito-core:3.1.0'
36-
compile 'com.google.protobuf:protobuf-java:3.1.0'
37-
compile 'com.google.protobuf:protobuf-java-util:3.1.0'
23+
implementation group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
24+
implementation group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.6'
25+
implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.7'
26+
implementation group: 'com.google.protobuf', name: 'protobuf-java', version: '3.5.1'
27+
implementation group: 'com.google.guava', name: 'guava', version: '27.0.1-jre'
28+
implementation group: 'com.timgroup', name: 'java-statsd-client', version: '3.1.0'
29+
implementation group: 'org.aeonbits.owner', name: 'owner', version: '1.0.9'
30+
31+
testImplementation group: 'junit', name: 'junit' , version: '4.12'
32+
testImplementation group: 'com.github.tomakehurst', name: 'wiremock', version: '2.18.0'
33+
testImplementation group: 'com.google.guava', name: 'guava-testlib', version: '12.0-rc2'
34+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.1.0'
3835
}
3936

4037
buildscript.repositories.each { repositories.add(it) }
125 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.0-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

clients/java/gradlew

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
#!/usr/bin/env sh
22

3-
#
4-
# Copyright 2015 the original author or authors.
5-
#
6-
# Licensed under the Apache License, Version 2.0 (the "License");
7-
# you may not use this file except in compliance with the License.
8-
# You may obtain a copy of the License at
9-
#
10-
# https://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing, software
13-
# distributed under the License is distributed on an "AS IS" BASIS,
14-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
# See the License for the specific language governing permissions and
16-
# limitations under the License.
17-
#
18-
193
##############################################################################
204
##
215
## Gradle start up script for UN*X
@@ -44,7 +28,7 @@ APP_NAME="Gradle"
4428
APP_BASE_NAME=`basename "$0"`
4529

4630
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
47-
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
31+
DEFAULT_JVM_OPTS='"-Xmx64m"'
4832

4933
# Use the maximum available, or set MAX_FD != -1 to use that value.
5034
MAX_FD="maximum"
@@ -125,8 +109,8 @@ if $darwin; then
125109
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
126110
fi
127111

128-
# For Cygwin or MSYS, switch paths to Windows format before running java
129-
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
112+
# For Cygwin, switch paths to Windows format before running java
113+
if $cygwin ; then
130114
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
131115
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
132116
JAVACMD=`cygpath --unix "$JAVACMD"`

clients/java/gradlew.bat

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
@rem
2-
@rem Copyright 2015 the original author or authors.
3-
@rem
4-
@rem Licensed under the Apache License, Version 2.0 (the "License");
5-
@rem you may not use this file except in compliance with the License.
6-
@rem You may obtain a copy of the License at
7-
@rem
8-
@rem https://www.apache.org/licenses/LICENSE-2.0
9-
@rem
10-
@rem Unless required by applicable law or agreed to in writing, software
11-
@rem distributed under the License is distributed on an "AS IS" BASIS,
12-
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
@rem See the License for the specific language governing permissions and
14-
@rem limitations under the License.
15-
@rem
16-
171
@if "%DEBUG%" == "" @echo off
182
@rem ##########################################################################
193
@rem
@@ -30,7 +14,7 @@ set APP_BASE_NAME=%~n0
3014
set APP_HOME=%DIRNAME%
3115

3216
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
33-
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
17+
set DEFAULT_JVM_OPTS="-Xmx64m"
3418

3519
@rem Find java.exe
3620
if defined JAVA_HOME goto findJavaFromJavaHome

0 commit comments

Comments
 (0)