Updated gradle wrapper task

master
nathan 2019-01-11 22:47:07 +01:00
parent 7c03c3a04a
commit 7dd9a991df
3 changed files with 11 additions and 7 deletions

View File

@ -142,11 +142,6 @@ tasks.withType<Jar> {
}
}
val wrapperUpdate by tasks.creating(Wrapper::class) {
gradleVersion = "5.1"
distributionUrl = distributionUrl.replace("bin", "all")
}
/////////////////////////////////
//////// Plugin Publishing + Release
/////////////////////////////////
@ -173,3 +168,12 @@ pluginBundle {
}
}
}
///////////////////////////////
////// Gradle Wrapper Configuration.
///// Run this task, then refresh the gradle project
///////////////////////////////
val wrapperUpdate by tasks.creating(Wrapper::class) {
gradleVersion = "5.1.1"
distributionUrl = distributionUrl.replace("bin", "all")
}

2
gradlew vendored
View File

@ -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"

2
gradlew.bat vendored
View File

@ -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