For more details on this usage of Testcontainers, see https://bsideup.github.io/posts/local_development_with_testcontainers/ Related issues: https://github.com/spring-projects/spring-boot/issues/30863
19 lines
914 B
Groovy
19 lines
914 B
Groovy
apply plugin: 'io.spring.convention.spring-sample-boot'
|
|
|
|
dependencies {
|
|
implementation project(':spring-session-data-mongodb')
|
|
implementation "org.springframework.boot:spring-boot-starter-web"
|
|
implementation "org.springframework.boot:spring-boot-starter-thymeleaf"
|
|
implementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
|
|
implementation "org.thymeleaf.extras:thymeleaf-extras-springsecurity6"
|
|
implementation "org.springframework.boot:spring-boot-starter-data-mongodb"
|
|
implementation "org.springframework.boot:spring-boot-starter-security"
|
|
implementation "org.testcontainers:mongodb"
|
|
|
|
|
|
testImplementation "org.springframework.boot:spring-boot-starter-test"
|
|
testImplementation "org.seleniumhq.selenium:htmlunit-driver"
|
|
testImplementation "org.seleniumhq.selenium:selenium-support"
|
|
testImplementation "org.springframework.security:spring-security-test"
|
|
}
|