mirror of https://github.com/usbharu/Hideout.git
chore: 開発時にホットリロード等ができるように
This commit is contained in:
parent
a60b709cb0
commit
3b8156e16d
|
@ -74,6 +74,7 @@ val os = org.gradle.nativeplatform.platform.internal
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
developmentOnly(libs.h2db)
|
developmentOnly(libs.h2db)
|
||||||
|
developmentOnly("org.springframework.boot:spring-boot-devtools")
|
||||||
detektPlugins(libs.detekt.formatting)
|
detektPlugins(libs.detekt.formatting)
|
||||||
|
|
||||||
implementation(libs.bundles.exposed)
|
implementation(libs.bundles.exposed)
|
||||||
|
@ -152,6 +153,12 @@ configurations.matching { it.name == "detekt" }.all {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//tasks{
|
||||||
|
// bootRun {
|
||||||
|
// sourceResources(sourceSets.main.get())
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
|
||||||
tasks.withType<io.gitlab.arturbosch.detekt.Detekt> {
|
tasks.withType<io.gitlab.arturbosch.detekt.Detekt> {
|
||||||
exclude("**/generated/**")
|
exclude("**/generated/**")
|
||||||
doFirst {
|
doFirst {
|
||||||
|
|
|
@ -5,6 +5,11 @@ hideout:
|
||||||
trace-query-exception: true
|
trace-query-exception: true
|
||||||
trace-query-call: true
|
trace-query-call: true
|
||||||
spring:
|
spring:
|
||||||
|
devtools:
|
||||||
|
livereload:
|
||||||
|
enabled: true
|
||||||
|
restart:
|
||||||
|
enabled: true
|
||||||
data:
|
data:
|
||||||
mongodb:
|
mongodb:
|
||||||
auto-index-creation: true
|
auto-index-creation: true
|
||||||
|
@ -25,6 +30,8 @@ spring:
|
||||||
enabled: true
|
enabled: true
|
||||||
messages:
|
messages:
|
||||||
basename: messages.hideout-web-messages
|
basename: messages.hideout-web-messages
|
||||||
|
thymeleaf:
|
||||||
|
cache: false
|
||||||
server:
|
server:
|
||||||
tomcat:
|
tomcat:
|
||||||
basedir: tomcat
|
basedir: tomcat
|
||||||
|
|
Loading…
Reference in New Issue