Skip to content

Commit 69c033c

Browse files
authored
Bumping to gradle 6 (#40)
1 parent 7bc8fe6 commit 69c033c

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

gradle/wrapper/gradle-wrapper.jar

908 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
#
1717
distributionBase=GRADLE_USER_HOME
1818
distributionPath=wrapper/dists
19+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.1-bin.zip
1920
zipStoreBase=GRADLE_USER_HOME
2021
zipStorePath=wrapper/dists
21-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip

gradlew

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# you may not use this file except in compliance with the License.
88
# You may obtain a copy of the License at
99
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
10+
# https://www.apache.org/licenses/LICENSE-2.0
1111
#
1212
# Unless required by applicable law or agreed to in writing, software
1313
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -44,7 +44,7 @@ APP_NAME="Gradle"
4444
APP_BASE_NAME=`basename "$0"`
4545

4646
# 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='-Dfile.encoding=UTF-8'
47+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
4848

4949
# Use the maximum available, or set MAX_FD != -1 to use that value.
5050
MAX_FD="maximum"

gradlew.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
@rem you may not use this file except in compliance with the License.
66
@rem You may obtain a copy of the License at
77
@rem
8-
@rem http://www.apache.org/licenses/LICENSE-2.0
8+
@rem https://www.apache.org/licenses/LICENSE-2.0
99
@rem
1010
@rem Unless required by applicable law or agreed to in writing, software
1111
@rem distributed under the License is distributed on an "AS IS" BASIS,
@@ -30,7 +30,7 @@ set APP_BASE_NAME=%~n0
3030
set APP_HOME=%DIRNAME%
3131

3232
@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=-Dfile.encoding=UTF-8
33+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
3434

3535
@rem Find java.exe
3636
if defined JAVA_HOME goto findJavaFromJavaHome

tests/build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,12 @@ tasks.withType(Test) {
3434
}
3535

3636
dependencies {
37-
compile "org.scala-lang:scala-library:${gradle.scala.version}"
38-
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
39-
compile "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
37+
implementation "junit:junit:4.11"
38+
implementation "org.scala-lang:scala-library:${gradle.scala.version}"
39+
implementation "org.scalatest:scalatest_${gradle.scala.depVersion}:3.0.8"
40+
implementation "org.apache.openwhisk:openwhisk-common:${gradle.openwhisk.version}"
41+
implementation "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:tests"
42+
implementation "org.apache.openwhisk:openwhisk-tests:${gradle.openwhisk.version}:test-sources"
4043
implementation group: 'com.typesafe.akka', name: "akka-http2-support_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
4144
implementation group: 'com.typesafe.akka', name: "akka-http-xml_${gradle.scala.depVersion}", version: "${gradle.akka_http.version}"
4245
implementation group: 'com.typesafe.akka', name: "akka-discovery_${gradle.scala.depVersion}", version: "${gradle.akka.version}"

0 commit comments

Comments
 (0)