From 00f86204245c882767aa82ed8db50004cadb4588 Mon Sep 17 00:00:00 2001 From: developServer Date: Sat, 3 Aug 2024 13:30:19 +0000 Subject: [PATCH] fix --- build.gradle | 8 ++++++++ src/main/resources/application.properties | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index b5298ad..3a53b41 100644 --- a/build.gradle +++ b/build.gradle @@ -42,3 +42,11 @@ dependencies { tasks.named('test') { useJUnitPlatform() } + +tasks.withType(JavaCompile) { + options.encoding = 'UTF-8' +} + +tasks.withType(Test) { + systemProperty 'file.encoding', 'UTF-8' +} \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 4e54a68..b2473d3 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -3,7 +3,5 @@ spring.datasource.url=jdbc:p6spy:mysql://47.106.93.245:9003/service spring.datasource.username=root spring.datasource.password=qingyu23. spring.datasource.driver-class-name = com.p6spy.engine.spy.P6SpyDriver -#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -