Skip to content

Commit 1139899

Browse files
committed
JAVA-2641: Change jsr305 dependendency from optional to compileOnly
1 parent 28c1c46 commit 1139899

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ configure(subprojects.findAll { it.name != 'util' }) {
6161
}
6262

6363
dependencies {
64-
compile 'com.google.code.findbugs:jsr305:1.3.9', optional
64+
compileOnly 'com.google.code.findbugs:jsr305:1.3.9'
6565
compile 'org.slf4j:slf4j-api:1.7.6', optional
6666
}
6767

gradle/deploy.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ configure(subprojects - [project(':util'), project(':driver-legacy')]) {
5252

5353
modifyPom { pom ->
5454
pom.dependencies.findAll {
55-
dep -> dep.groupId == 'io.netty' || dep.groupId == 'org.slf4j' || dep.groupId == 'org.xerial.snappy' || dep.groupId == 'com.google.code.findbugs'
55+
dep -> dep.groupId == 'io.netty' || dep.groupId == 'org.slf4j' || dep.groupId == 'org.xerial.snappy'
5656
}.each {
5757
it.optional = true
5858
}

0 commit comments

Comments
 (0)