From 3b8156e16d0a3fb9c6fd357796be8c0522e2465b Mon Sep 17 00:00:00 2001 From: usbharu Date: Mon, 26 Aug 2024 15:24:12 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=E9=96=8B=E7=99=BA=E6=99=82=E3=81=AB?= =?UTF-8?q?=E3=83=9B=E3=83=83=E3=83=88=E3=83=AA=E3=83=AD=E3=83=BC=E3=83=89?= =?UTF-8?q?=E7=AD=89=E3=81=8C=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88=E3=81=86?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hideout-core/build.gradle.kts | 7 +++++++ hideout-core/src/main/resources/application-dev.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/hideout-core/build.gradle.kts b/hideout-core/build.gradle.kts index 8e67e1c4..10054038 100644 --- a/hideout-core/build.gradle.kts +++ b/hideout-core/build.gradle.kts @@ -74,6 +74,7 @@ val os = org.gradle.nativeplatform.platform.internal dependencies { developmentOnly(libs.h2db) + developmentOnly("org.springframework.boot:spring-boot-devtools") detektPlugins(libs.detekt.formatting) implementation(libs.bundles.exposed) @@ -152,6 +153,12 @@ configurations.matching { it.name == "detekt" }.all { } } +//tasks{ +// bootRun { +// sourceResources(sourceSets.main.get()) +// } +//} + tasks.withType { exclude("**/generated/**") doFirst { diff --git a/hideout-core/src/main/resources/application-dev.yml b/hideout-core/src/main/resources/application-dev.yml index 736a8e16..a6d4118b 100644 --- a/hideout-core/src/main/resources/application-dev.yml +++ b/hideout-core/src/main/resources/application-dev.yml @@ -5,6 +5,11 @@ hideout: trace-query-exception: true trace-query-call: true spring: + devtools: + livereload: + enabled: true + restart: + enabled: true data: mongodb: auto-index-creation: true @@ -25,6 +30,8 @@ spring: enabled: true messages: basename: messages.hideout-web-messages + thymeleaf: + cache: false server: tomcat: basedir: tomcat