Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix classpath duplicate
  • Loading branch information
dansanduleac committed Sep 16, 2019
commit 9c5bc95c62e3876404d7c516ff737bd17080528b
9 changes: 9 additions & 0 deletions conjure-java-jersey-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,12 @@ dependencies {
testImplementation "org.hamcrest:hamcrest-all"
testImplementation "org.mockito:mockito-core"
}

configurations.all {
resolutionStrategy {
// Conflicts with javax.inject:javax.inject:1
// This is safe to remove, the purpose of the repackaged version is to implement OSGI, which we don't use
// Source: https://stackoverflow.com/a/25218230/274699
exclude group: 'org.glassfish.hk2.external', module: 'javax.inject'
}
}