From 5c1862fe7d9af6811fed8c876a6772fd32799bfb Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Tue, 26 Apr 2022 00:34:48 +0200 Subject: [PATCH] Move jsr305 version to version.gradle --- sop-java-picocli/build.gradle | 6 +++--- version.gradle | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sop-java-picocli/build.gradle b/sop-java-picocli/build.gradle index bda5a36..e78bca9 100644 --- a/sop-java-picocli/build.gradle +++ b/sop-java-picocli/build.gradle @@ -23,8 +23,9 @@ dependencies { // CLI implementation "info.picocli:picocli:$picocliVersion" - // https://mvnrepository.com/artifact/com.google.code.findbugs/jsr305 - implementation group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2' + + // @Nonnull, @Nullable... + implementation "com.google.code.findbugs:jsr305:$jsrVersion" } mainClassName = 'sop.cli.picocli.SopCLI' @@ -48,4 +49,3 @@ jar { exclude "META-INF/*.RSA" } } - diff --git a/version.gradle b/version.gradle index 6559ca5..24ffad8 100644 --- a/version.gradle +++ b/version.gradle @@ -12,5 +12,6 @@ allprojects { junitSysExitVersion = '1.1.2' picocliVersion = '4.6.3' mockitoVersion = '4.5.1' + jsrVersion = '3.0.2' } }