diff options
author | Joffrey BION <joffrey.bion@gmail.com> | 2017-09-29 01:18:23 +0200 |
---|---|---|
committer | Joffrey BION <joffrey.bion@gmail.com> | 2017-09-29 01:18:23 +0200 |
commit | eb35c4ddde39f737a0a5f1067bba4ad92eb5a65f (patch) | |
tree | 7b62f88f8378d4bae54afcc2c69c462047c45130 /backend/build.gradle | |
parent | Allow empty types in checkstyle config (diff) | |
download | seven-wonders-eb35c4ddde39f737a0a5f1067bba4ad92eb5a65f.tar.gz seven-wonders-eb35c4ddde39f737a0a5f1067bba4ad92eb5a65f.tar.bz2 seven-wonders-eb35c4ddde39f737a0a5f1067bba4ad92eb5a65f.zip |
Move to shared checkstyle config 2.1.0
Diffstat (limited to 'backend/build.gradle')
-rw-r--r-- | backend/build.gradle | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/backend/build.gradle b/backend/build.gradle index e4055aa5..c8bdf83f 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -15,22 +15,31 @@ repositories { mavenCentral() } +configurations { + checkstyleConfig +} + +dependencies { +} + dependencies { + compile 'org.springframework.boot:spring-boot-starter-websocket' + compile 'org.springframework.security:spring-security-core:4.2.0.RELEASE' compile 'com.google.code.gson:gson:2.8.0' compile 'ch.qos.logback:logback-classic:1.1.8' compile 'org.hildan.livedoc:livedoc-springboot:2.0.0' compile 'org.hildan.livedoc:livedoc-ui-webjar:2.0.0' - compile 'org.springframework.boot:spring-boot-starter-websocket' - compile 'org.springframework.security:spring-security-core:4.2.0.RELEASE' - testCompile 'org.springframework.boot:spring-boot-starter-test' testCompile 'org.hildan.jackstomp:jackstomp:1.1.0' + + checkstyleConfig "org.hildan.checkstyle:checkstyle-config:2.1.0" } checkstyle { maxWarnings = 0 - toolVersion = '7.7' + toolVersion = '8.2' + config = resources.text.fromArchiveEntry(configurations.checkstyleConfig, "checkstyle.xml") } // packages the frontend app within the jar |