Handle When.MAYBE warning

- Add com.google.code.findbugs:jsr305 to compileOnly
  order to get rid of warnings.
This commit is contained in:
Janne Valkealahti
2022-08-18 08:51:35 +01:00
parent eb82af42ed
commit 79350939a5
5 changed files with 5 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ st4Version=4.3.1
jimfsVersion=1.2
gradleEnterpriseVersion=3.10.3
springGeConventionsVersion=0.0.11
findbugsVersion=3.0.2

View File

@@ -12,6 +12,7 @@ dependencies {
api('org.springframework:spring-messaging')
api('org.jline:jline')
api('org.antlr:ST4')
compileOnly 'com.google.code.findbugs:jsr305'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.awaitility:awaitility'
testImplementation 'com.google.jimfs:jimfs'

View File

@@ -15,5 +15,6 @@ dependencies {
api "org.jline:jline-terminal-jna:$jlineVersion"
api "org.antlr:ST4:$st4Version"
api "com.google.jimfs:jimfs:$jimfsVersion"
api "com.google.code.findbugs:jsr305:$findbugsVersion"
}
}

View File

@@ -7,5 +7,6 @@ description = 'Spring Shell Standard'
dependencies {
management platform(project(":spring-shell-management"))
implementation project(':spring-shell-core')
compileOnly 'com.google.code.findbugs:jsr305'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}

View File

@@ -8,5 +8,6 @@ dependencies {
management platform(project(":spring-shell-management"))
api('org.springframework:spring-core')
api('org.springframework:spring-context')
compileOnly 'com.google.code.findbugs:jsr305'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}