feat: DB adjustments + connection profile (#5)

* Use persistent database and add datasource

* Change DLL-behaviour for test

* Fix linebreak
This commit is contained in:
Torge Hamann 2024-11-17 20:57:39 +01:00 committed by GitHub
parent 4d04fc64aa
commit c3da0eff5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 30 additions and 10 deletions

View file

@ -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
}