30 lines
970 B
Groovy
30 lines
970 B
Groovy
|
plugins {
|
||
|
id 'org.springframework.boot' version '2.6.7'
|
||
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
||
|
id 'java'
|
||
|
}
|
||
|
|
||
|
group = 'com.wbrawner'
|
||
|
version = '0.0.1-SNAPSHOT'
|
||
|
sourceCompatibility = '17'
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-data-mongodb-reactive'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||
|
implementation 'org.springframework.boot:spring-boot-starter-webflux'
|
||
|
implementation 'org.springframework.session:spring-session-core'
|
||
|
compileOnly 'org.springframework.boot:spring-boot-devtools'
|
||
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
||
|
testImplementation 'de.flapdoodle.embed:de.flapdoodle.embed.mongo'
|
||
|
testImplementation 'io.projectreactor:reactor-test'
|
||
|
testImplementation 'org.springframework.security:spring-security-test'
|
||
|
}
|
||
|
|
||
|
tasks.named('test') {
|
||
|
useJUnitPlatform()
|
||
|
}
|