From c7c13535e698dbd9a3741adbd09b0603db51d1bb Mon Sep 17 00:00:00 2001 From: sbx0 Date: Tue, 9 Jan 2024 11:16:33 +0800 Subject: [PATCH] update dependency --- README.md | 2 +- todo-service/build.gradle | 14 +++++++------- ...ateReadmeCodeCoverageBadgeFromJacocoReport.java | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index cbb1a56..19ecb8c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Todo Project [![test](https://github.com/sbx0/todo/actions/workflows/build.yml/badge.svg)](https://github.com/sbx0/todo/actions/workflows/build.yml) -[![coverage](https://img.shields.io/badge/coverage-58%25-red.svg)](https://todo-code-coverage.sbx0.cn/) +[![coverage](https://img.shields.io/badge/coverage-57%25-red.svg)](https://todo-code-coverage.sbx0.cn/) Target: Planning your time diff --git a/todo-service/build.gradle b/todo-service/build.gradle index 994bbdd..4f9d8ed 100644 --- a/todo-service/build.gradle +++ b/todo-service/build.gradle @@ -1,8 +1,8 @@ plugins { // https://mvnrepository.com/artifact/org.springframework.boot/spring-boot - id 'org.springframework.boot' version '3.1.4' + id 'org.springframework.boot' version '3.2.1' // https://mvnrepository.com/artifact/io.spring.dependency-management/io.spring.dependency-management.gradle.plugin - id 'io.spring.dependency-management' version '1.1.3' + id 'io.spring.dependency-management' version '1.1.4' // https://mvnrepository.com/artifact/org.asciidoctor.jvm.convert/org.asciidoctor.jvm.convert.gradle.plugin id "org.asciidoctor.jvm.convert" version "3.3.2" id 'jacoco' @@ -41,9 +41,9 @@ dependencies { implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml' // https://mvnrepository.com/artifact/io.lettuce/lettuce-core - implementation group: 'io.lettuce', name: 'lettuce-core', version: '6.2.6.RELEASE' + implementation group: 'io.lettuce', name: 'lettuce-core', version: '6.3.0.RELEASE' // https://mvnrepository.com/artifact/com.theokanning.openai-gpt3-java/service - implementation 'com.theokanning.openai-gpt3-java:service:0.16.0' + implementation 'com.theokanning.openai-gpt3-java:service:0.18.2' // https://mvnrepository.com/artifact/org.mapstruct/mapstruct implementation 'org.mapstruct:mapstruct:1.5.5.Final' @@ -53,15 +53,15 @@ dependencies { annotationProcessor "org.projectlombok:lombok-mapstruct-binding:0.2.0" // https://mvnrepository.com/artifact/net.sourceforge.tess4j/tess4j - implementation 'net.sourceforge.tess4j:tess4j:5.8.0' + implementation 'net.sourceforge.tess4j:tess4j:5.10.0' runtimeOnly 'com.mysql:mysql-connector-j' compileOnly 'org.projectlombok:lombok' annotationProcessor 'org.projectlombok:lombok' - // https://mvnrepository.com/artifact/org.mockito/mockito-inline - testImplementation 'org.mockito:mockito-core:5.5.0' + // https://mvnrepository.com/artifact/org.mockito/mockito-core + testImplementation 'org.mockito:mockito-core:5.8.0' testAnnotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.security:spring-security-test' diff --git a/todo-service/src/main/java/cn/sbx0/todo/AutoGenerateReadmeCodeCoverageBadgeFromJacocoReport.java b/todo-service/src/main/java/cn/sbx0/todo/AutoGenerateReadmeCodeCoverageBadgeFromJacocoReport.java index 6572226..a51a578 100644 --- a/todo-service/src/main/java/cn/sbx0/todo/AutoGenerateReadmeCodeCoverageBadgeFromJacocoReport.java +++ b/todo-service/src/main/java/cn/sbx0/todo/AutoGenerateReadmeCodeCoverageBadgeFromJacocoReport.java @@ -28,7 +28,7 @@ public static void main(String[] args) throws IOException { String last = newContent.substring(0, endIndex); String replace = last.replace("", "-"); String[] split = replace.split("-"); - System.out.println("increase test coverage to " + split[1]); + System.out.println("Test coverage is " + split[1]); String percentString = split[1].replace("%", ""); int percent = Integer.parseInt(percentString); String color;