Skip to content

Commit 2434a26

Browse files
committed
Add spring-boot-devtools dependency for live-reloading html file
1 parent f3b109e commit 2434a26

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

DBMonitoringDownloaderApp/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.4")
6+
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.6.7")
77
}
88
}
99

1010
plugins {
1111
id 'java'
12-
id 'org.springframework.boot' version '2.6.4'
12+
id 'org.springframework.boot' version '2.6.7'
1313
id 'io.spring.dependency-management' version '1.0.7.RELEASE'
1414
}
1515

@@ -19,7 +19,8 @@ repositories {
1919

2020
dependencies {
2121
// Spring
22-
implementation group: 'org.springframework.boot', name: 'spring-boot-starter-thymeleaf', version: '2.6.4'
22+
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf:2.6.7'
23+
implementation 'org.springframework.boot:spring-boot-devtools:2.6.7'
2324
implementation 'org.springframework.boot:spring-boot-starter-web'
2425

2526
// Logback
Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
spring:
2-
application:
3-
name: DBMonitoringDownloaderApp
4-
http:
5-
encoding:
6-
charset: UTF-8
7-
enabled: true
8-
force: true
9-
server:
10-
port: 8081
11-
servlet:
12-
context-path: /
13-
14-
logging:
15-
config: config/logback.xml
16-
17-
#logging:
18-
# level:
19-
# root: info
2+
thymeleaf:
3+
cache: false
4+
devtools:
5+
livereload:
6+
enabled: true

0 commit comments

Comments
 (0)