From 883d34b5cf2cfb0a88cace9959c5f253e7e90011 Mon Sep 17 00:00:00 2001 From: Scott Frederick Date: Tue, 29 Nov 2022 17:48:30 -0600 Subject: [PATCH] Polish build file --- build.gradle | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index c89e80b..745c1df 100644 --- a/build.gradle +++ b/build.gradle @@ -35,17 +35,14 @@ ext { configure(allprojects) { apply plugin: 'java' apply plugin: 'eclipse' - - group = 'org.springframework.credhub' -} - -configure(allprojects) { apply plugin: 'checkstyle' apply plugin: 'io.spring.nohttp' apply plugin: 'io.spring.javaformat' + group = 'org.springframework.credhub' + checkstyle { - toolVersion = "8.45.1" + toolVersion = "9.3" configDirectory.set(rootProject.file("src/checkstyle")) } @@ -93,6 +90,7 @@ configure(publishedProjects) { subprojects { tasks.withType(JavaCompile) { options.encoding = 'UTF-8' + options.compilerArgs.addAll(["-Werror", "-Xlint:unchecked", "-Xlint:deprecation"]) } java {