mirror of
https://gitee.com/dcren/initializr.git
synced 2025-04-29 19:56:47 +08:00
Upgrade to Gradle 4.2 for Spring Boot 2+
Closes gh-513
This commit is contained in:
parent
cff86cdb57
commit
f103e397f4
Binary file not shown.
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.0.2-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.2-bin.zip
|
||||
|
@ -33,11 +33,11 @@ DEFAULT_JVM_OPTS=""
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn ( ) {
|
||||
warn () {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die ( ) {
|
||||
die () {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
@ -155,7 +155,7 @@ if $cygwin ; then
|
||||
fi
|
||||
|
||||
# Escape application args
|
||||
save ( ) {
|
||||
save () {
|
||||
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
||||
echo " "
|
||||
}
|
||||
|
@ -353,7 +353,7 @@ public class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
||||
ProjectRequest request = createProjectRequest("web");
|
||||
request.setType("gradle-project");
|
||||
request.setBootVersion("2.0.0.M4");
|
||||
generateProject(request).isGradleProject("4.0.2");
|
||||
generateProject(request).isGradleProject("4.2");
|
||||
}
|
||||
|
||||
@Test
|
||||
@ -361,7 +361,7 @@ public class ProjectGeneratorTests extends AbstractProjectGeneratorTests {
|
||||
ProjectRequest request = createProjectRequest("web");
|
||||
request.setType("gradle-project");
|
||||
request.setBootVersion("2.0.0.BUILD-SNAPSHOT");
|
||||
generateProject(request).isGradleProject("4.0.2");
|
||||
generateProject(request).isGradleProject("4.2");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user