feat: DB adjustments + connection profile (#5)
* Use persistent database and add datasource * Change DLL-behaviour for test * Fix linebreak
This commit is contained in:
parent
4d04fc64aa
commit
c3da0eff5c
5 changed files with 30 additions and 10 deletions
|
@ -29,14 +29,14 @@ repositories {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.zeroturnaround:zt-exec:1.12")
|
||||
implementation("org.zeroturnaround:zt-exec:1.12")
|
||||
implementation("org.apache.commons:commons-lang3:3.17.0")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-autoconfigure")
|
||||
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
||||
implementation("org.xerial:sqlite-jdbc")
|
||||
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||
implementation("org.hibernate.orm:hibernate-community-dialects")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-jdbc")
|
||||
implementation("org.xerial:sqlite-jdbc")
|
||||
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||
implementation("org.hibernate.orm:hibernate-community-dialects")
|
||||
|
||||
implementation("org.springframework.boot:spring-boot-starter-security")
|
||||
implementation("org.springframework.boot:spring-boot-starter-web")
|
||||
|
@ -54,6 +54,8 @@ dependencies {
|
|||
}
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
useJUnitPlatform()
|
||||
|
||||
systemProperty("spring.profiles.active", "test")
|
||||
testLogging.showStandardStreams = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue