Skip to content

Commit

Permalink
hidden spotbugs in release #2829
Browse files Browse the repository at this point in the history
org.w3c.dom is accessible from more than one module: <unnamed>, java.xml during building cbeust#2829

Signed-off-by: Bob Shi <bob.shi@ericsson.com>
  • Loading branch information
bobshie authored and krmahadevan committed Nov 14, 2022
1 parent 9c15d5e commit 133ac28
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion testng-core-api/testng-core-api-build.gradle.kts
Expand Up @@ -10,7 +10,7 @@ java {

dependencies {
api(projects.testngCollections)
api("com.github.spotbugs:spotbugs:_")
compileOnly("com.github.spotbugs:spotbugs:_")
"guiceApi"(platform("com.google.inject:guice-bom:_"))
"guiceApi"("com.google.inject:guice")

Expand Down
2 changes: 1 addition & 1 deletion testng-core/testng-core-build.gradle.kts
Expand Up @@ -25,7 +25,7 @@ java {
dependencies {
api(projects.testngCoreApi)
// Annotations have to be available on the compile classpath for the proper compilation
api("com.github.spotbugs:spotbugs:_")
compileOnly("com.github.spotbugs:spotbugs:_")
api("com.beust:jcommander:_")

"guiceApi"(platform("com.google.inject:guice-bom:_"))
Expand Down
1 change: 1 addition & 0 deletions testng-runner-api/testng-runner-api-build.gradle.kts
Expand Up @@ -4,4 +4,5 @@ plugins {

dependencies {
api(projects.testngCoreApi)
compileOnly("com.github.spotbugs:spotbugs:_")
}

0 comments on commit 133ac28

Please sign in to comment.