Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 4300bd7

Browse files
committed
Configure database for non-test mode
- Move .sql resources to main/resources - Use H2 for both test and non-test. This allows bootRun to work as expected.
1 parent f23890f commit 4300bd7

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1919

2020
implementation 'org.springframework.data:spring-data-jdbc'
21-
testImplementation 'com.h2database:h2'
21+
implementation 'com.h2database:h2'
2222
}
2323

2424
tasks.named('test') {

0 commit comments

Comments
 (0)