summaryrefslogtreecommitdiff
path: root/backend/build.gradle
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2018-04-28 10:34:50 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2018-04-28 15:03:45 +0200
commit12169481b4adcceba54ca06999ec5a3613b96c19 (patch)
tree4750c1a14cb1878b5079c6f0e400b3d03a9e756f /backend/build.gradle
parentMigrate to Spring Boot 2.0.1 (using Spring 5) (diff)
downloadseven-wonders-12169481b4adcceba54ca06999ec5a3613b96c19.tar.gz
seven-wonders-12169481b4adcceba54ca06999ec5a3613b96c19.tar.bz2
seven-wonders-12169481b4adcceba54ca06999ec5a3613b96c19.zip
Migrate to Spring Boot Starter Security
So far, we had a direct dependency on Spring Security Core, but it is cleaner to import it "à la" Spring Boot, so that we benefit from autoconfiguration, and the version is handled by Spring Boot.
Diffstat (limited to 'backend/build.gradle')
-rw-r--r--backend/build.gradle6
1 files changed, 5 insertions, 1 deletions
diff --git a/backend/build.gradle b/backend/build.gradle
index 705104aa..aec1bc9e 100644
--- a/backend/build.gradle
+++ b/backend/build.gradle
@@ -23,8 +23,12 @@ configurations {
dependencies {
compile project(':game-engine')
+
compile 'org.springframework.boot:spring-boot-starter-websocket'
- compile 'org.springframework.security:spring-security-core:5.0.4.RELEASE'
+ compile 'org.springframework.boot:spring-boot-starter-security'
+ // required by spring security with websockets
+ compile 'org.springframework.security:spring-security-messaging'
+
compile 'ch.qos.logback:logback-classic:1.1.8'
compile 'org.hildan.livedoc:livedoc-springboot:4.3.2'
compile 'org.hildan.livedoc:livedoc-ui-webjar:4.3.2'
bgstack15