Skip to content

Commit 7935093

Browse files
committed
Handle When.MAYBE warning
- Add com.google.code.findbugs:jsr305 to compileOnly order to get rid of warnings.
1 parent eb82af4 commit 7935093

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

Diff for: gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ st4Version=4.3.1
66
jimfsVersion=1.2
77
gradleEnterpriseVersion=3.10.3
88
springGeConventionsVersion=0.0.11
9+
findbugsVersion=3.0.2

Diff for: spring-shell-core/spring-shell-core.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ dependencies {
1212
api('org.springframework:spring-messaging')
1313
api('org.jline:jline')
1414
api('org.antlr:ST4')
15+
compileOnly 'com.google.code.findbugs:jsr305'
1516
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1617
testImplementation 'org.awaitility:awaitility'
1718
testImplementation 'com.google.jimfs:jimfs'

Diff for: spring-shell-management/spring-shell-management.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ dependencies {
1515
api "org.jline:jline-terminal-jna:$jlineVersion"
1616
api "org.antlr:ST4:$st4Version"
1717
api "com.google.jimfs:jimfs:$jimfsVersion"
18+
api "com.google.code.findbugs:jsr305:$findbugsVersion"
1819
}
1920
}

Diff for: spring-shell-standard/spring-shell-standard.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ description = 'Spring Shell Standard'
77
dependencies {
88
management platform(project(":spring-shell-management"))
99
implementation project(':spring-shell-core')
10+
compileOnly 'com.google.code.findbugs:jsr305'
1011
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1112
}

Diff for: spring-shell-table/spring-shell-table.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@ dependencies {
88
management platform(project(":spring-shell-management"))
99
api('org.springframework:spring-core')
1010
api('org.springframework:spring-context')
11+
compileOnly 'com.google.code.findbugs:jsr305'
1112
testImplementation 'org.springframework.boot:spring-boot-starter-test'
1213
}

0 commit comments

Comments
 (0)