From eb35c4ddde39f737a0a5f1067bba4ad92eb5a65f Mon Sep 17 00:00:00 2001 From: Joffrey BION Date: Fri, 29 Sep 2017 01:18:23 +0200 Subject: Move to shared checkstyle config 2.1.0 --- backend/build.gradle | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'backend/build.gradle') 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 -- cgit