From 164fa2a6874076c708e9cb6cd5fcbd4d6a2f1e20 Mon Sep 17 00:00:00 2001 From: Jared Erickson Date: Fri, 22 May 2020 16:04:22 -0700 Subject: [PATCH] Upgrade to Spring Boot 2.3.0 --- build.gradle | 4 ++-- gradle/wrapper/gradle-wrapper.properties | 2 +- src/main/groovy/org/cugos/mbtilesserver/Rest.groovy | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 2cff958..5a7f563 100755 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'org.springframework.boot' version '2.2.6.RELEASE' + id 'org.springframework.boot' version '2.3.0.RELEASE' id 'groovy' } @@ -7,7 +7,7 @@ apply plugin: 'groovy' apply plugin: 'io.spring.dependency-management' group = 'org.cugos' -version = '0.6.0' +version = '0.7.0-SNAPSHOT' sourceCompatibility = '1.8' jar { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 19ee455..a6b044f 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists \ No newline at end of file diff --git a/src/main/groovy/org/cugos/mbtilesserver/Rest.groovy b/src/main/groovy/org/cugos/mbtilesserver/Rest.groovy index d03b8e0..03d3fed 100755 --- a/src/main/groovy/org/cugos/mbtilesserver/Rest.groovy +++ b/src/main/groovy/org/cugos/mbtilesserver/Rest.groovy @@ -41,7 +41,7 @@ class Rest { @ApiIgnore @RequestMapping(value = "/", method = RequestMethod.GET, produces = "text/html") - public ModelAndView home(Model model) { + ModelAndView home(Model model) { model.addAttribute("name", config.mbtiles.name) model.addAttribute("metadata", config.mbtiles.metadata) model.addAttribute("stats", config.mbtiles.tileCounts)