From 260dd8ca4baa5e3ebdde83851ff4c87acd18e23e Mon Sep 17 00:00:00 2001 From: der3318 Date: Sat, 6 Mar 2021 22:27:25 +0800 Subject: [PATCH] 20210306 upgrade to jooby 2.9.5 --- README.md | 4 ++-- build.gradle | 16 ++++++++-------- pom.xml | 16 ++++++++-------- public/views/base.html | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index c0e7f83..8c6a850 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ## ⚡️ Social Light -![ver](https://img.shields.io/badge/version-1.0.0-blue.svg) +![ver](https://img.shields.io/badge/version-1.0.1-blue.svg) ![jre](https://img.shields.io/badge/JRE-8%2B-green.svg) ![build](https://img.shields.io/badge/build-passing-brightgreen.svg) ![coverage](https://img.shields.io/badge/code%20coverage-84%25-yellow.svg) @@ -24,7 +24,7 @@ The project provides a set of basic application programming interfaces (API) req |Step|Content| |:-:|:-| |#1|Install JRE 8+| -|#2|Download zipped JAR and config files from [release](https://github.com/der3318/social-light/releases/download/1.0.0/social-light.zip)| +|#2|Download zipped JAR and config files from [release](https://github.com/der3318/social-light/releases/download/1.0.1/social-light.zip)| |#3|`$ java -jar social-light.jar port.http=[PORT] admin.token=[TOKEN]` to start the server| |#4|Check `http://[IP]:[PORT]/admin?token=[TOKEN]` for the admin dashboard| |#5|Use [API](#application-programming-interface---about) under `http://[IP]:[PORT]/api/v1/...` to develop your own application| diff --git a/build.gradle b/build.gradle index d1fd410..fe59c41 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { kotlinVersion = "1.3.50" - joobyVersion = "2.6.1" + joobyVersion = "2.9.5" } repositories { @@ -11,7 +11,7 @@ buildscript { } dependencies { - classpath "com.google.gradle:osdetector-gradle-plugin:1.4.0" + classpath "com.google.gradle:osdetector-gradle-plugin:1.6.2" classpath "io.spring.gradle:dependency-management-plugin:1.0.11.RELEASE" classpath "io.jooby:jooby-gradle-plugin:$joobyVersion" @@ -30,7 +30,7 @@ apply plugin: "jacoco" apply plugin: "maven" group "der3318" -version "1.0.0" +version "1.0.1" mainClassName = "der3318.App" sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 @@ -53,18 +53,18 @@ dependencyManagement { dependencies { /** template engine */ - compile "io.jooby:jooby-pebble:2.6.1" + compile "io.jooby:jooby-pebble:2.9.5" /** database interface */ - compile "io.jooby:jooby-hikari:2.6.1" - compile "io.jooby:jooby-jdbi:2.6.1" + compile "io.jooby:jooby-hikari:2.9.5" + compile "io.jooby:jooby-jdbi:2.9.5" /** database dependency */ - compile "com.h2database:h2:1.3.148" + compile "com.h2database:h2:1.4.200" compile "org.xerial:sqlite-jdbc:3.8.11.2" /** json utility */ - compile "io.jooby:jooby-jackson:2.6.1" + compile "io.jooby:jooby-jackson:2.9.5" compile "io.jooby:jooby-utow" compile "ch.qos.logback:logback-classic" diff --git a/pom.xml b/pom.xml index e19e39a..3a71de4 100644 --- a/pom.xml +++ b/pom.xml @@ -3,35 +3,35 @@ 4.0.0 der3318 social-light - 1.0.0 + 1.0.1 io.jooby jooby - 2.6.1 + 2.9.5 io.jooby jooby-pebble - 2.6.1 + 2.9.5 compile io.jooby jooby-hikari - 2.6.1 + 2.9.5 compile io.jooby jooby-jdbi - 2.6.1 + 2.9.5 compile com.h2database h2 - 1.3.148 + 1.4.200 compile @@ -43,7 +43,7 @@ io.jooby jooby-jackson - 2.6.1 + 2.9.5 compile @@ -82,7 +82,7 @@ io.jooby jooby-bom - 2.6.1 + 2.9.5 import pom diff --git a/public/views/base.html b/public/views/base.html index 616f29e..5e8e1fc 100644 --- a/public/views/base.html +++ b/public/views/base.html @@ -43,7 +43,7 @@