diff --git a/samples/standalone/pact/pact-http-server/gradle/wrapper/gradle-wrapper.properties b/samples/standalone/pact/pact-http-server/gradle/wrapper/gradle-wrapper.properties index 290541c738..f4d7b2bf61 100644 --- a/samples/standalone/pact/pact-http-server/gradle/wrapper/gradle-wrapper.properties +++ b/samples/standalone/pact/pact-http-server/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/standalone/yml/http-server/build.gradle b/samples/standalone/yml/http-server/build.gradle index b88b5709f3..f48ea44f52 100644 --- a/samples/standalone/yml/http-server/build.gradle +++ b/samples/standalone/yml/http-server/build.gradle @@ -66,10 +66,6 @@ test { } } -task wrapper(type: Wrapper) { - gradleVersion = '4.10' -} - clean.doFirst { delete "~/.m2/repository/com/example/http-server-dsl-gradle" } diff --git a/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.jar b/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.jar index 1948b9074f..87b738cbd0 100644 Binary files a/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.jar and b/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.jar differ diff --git a/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.properties b/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.properties index e0b3fb8d70..290541c738 100644 --- a/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.properties +++ b/samples/standalone/yml/http-server/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/samples/standalone/yml/http-server/gradlew b/samples/standalone/yml/http-server/gradlew index cccdd3d517..af6708ff22 100755 --- a/samples/standalone/yml/http-server/gradlew +++ b/samples/standalone/yml/http-server/gradlew @@ -28,7 +28,7 @@ APP_NAME="Gradle" APP_BASE_NAME=`basename "$0"` # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS="" +DEFAULT_JVM_OPTS='"-Xmx64m"' # Use the maximum available, or set MAX_FD != -1 to use that value. MAX_FD="maximum" diff --git a/samples/standalone/yml/http-server/gradlew.bat b/samples/standalone/yml/http-server/gradlew.bat index e95643d6a2..0f8d5937c4 100644 --- a/samples/standalone/yml/http-server/gradlew.bat +++ b/samples/standalone/yml/http-server/gradlew.bat @@ -14,7 +14,7 @@ set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= +set DEFAULT_JVM_OPTS="-Xmx64m" @rem Find java.exe if defined JAVA_HOME goto findJavaFromJavaHome