Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into swagger_oauth2
Browse files Browse the repository at this point in the history
  • Loading branch information
dvoet committed May 31, 2024
2 parents 3af43df + 3eabcc4 commit ea32806
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
5 changes: 3 additions & 2 deletions automation/project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ object Dependencies {
val akkaV = "2.6.19"
val akkaHttpV = "10.2.2"

val workbenchLibV = "d16cba9"
val workbenchGoogleV = s"0.30-$workbenchLibV"
val workbenchLibV = "89f86ba"

val workbenchGoogleV = s"0.32-$workbenchLibV"
val workbenchGoogle2V = s"0.36-$workbenchLibV"
val workbenchServiceTestV = "2.0-5863cbd"

Expand Down
15 changes: 7 additions & 8 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ object Dependencies {
val postgresDriverVersion = "42.7.2"
val sentryVersion = "6.15.0"

val workbenchLibV = "11d1985" // If updating this, make sure googleStorageLocal in test dependencies is up-to-date
val workbenchLibV = "89f86ba" // If updating this, make sure googleStorageLocal in test dependencies is up-to-date
val workbenchUtilV = s"0.10-$workbenchLibV"
val workbenchUtil2V = s"0.9-$workbenchLibV"
val workbenchModelV = s"0.19-$workbenchLibV"
val workbenchGoogleV = s"0.30-$workbenchLibV"
val workbenchGoogleV = s"0.32-$workbenchLibV"
val workbenchGoogle2V = s"0.36-$workbenchLibV"
val workbenchNotificationsV = s"0.6-$workbenchLibV"
val workbenchOauth2V = s"0.7-$workbenchLibV"
Expand Down Expand Up @@ -82,23 +82,22 @@ object Dependencies {

// All of workbench-libs pull in Akka; exclude it since we provide our own Akka dependency.
// workbench-google pulls in workbench-{util, model, metrics}; exclude them so we can control the library versions individually.
val excludeBouncyCastle = ExclusionRule("org.bouncycastle")
val workbenchUtil: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-util" % workbenchUtilV excludeAll excludeWorkbenchModel
val workbenchUtil2: ModuleID =
"org.broadinstitute.dsde.workbench" %% "workbench-util2" % workbenchUtil2V excludeAll excludeWorkbenchModel
val workbenchUtil2: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-util2" % workbenchUtil2V excludeAll excludeWorkbenchModel
val workbenchModel: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-model" % workbenchModelV
val workbenchGoogle: ModuleID =
"org.broadinstitute.dsde.workbench" %% "workbench-google" % workbenchGoogleV excludeAll (excludeWorkbenchModel, excludeWorkbenchUtil, excludeBouncyCastle)
val workbenchOauth2: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-oauth2" % workbenchOauth2V excludeAll excludeBouncyCastle
"org.broadinstitute.dsde.workbench" %% "workbench-google" % workbenchGoogleV excludeAll (excludeWorkbenchModel, excludeWorkbenchUtil)
val workbenchOauth2: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-oauth2" % workbenchOauth2V
val workbenchOauth2Tests: ModuleID = "org.broadinstitute.dsde.workbench" %% "workbench-oauth2" % workbenchOauth2V % "test" classifier "tests"
// the name of the auto-value package changed from auto-value to auto-value-annotations so old libraries are not evicted
// leading to merge errors during sbt assembly. At this time the old version of auto-value is pulled in through the google2
// workbench-libs dependency so exclude auto-value from there
val excludeGoogleAutoValue = ExclusionRule(organization = "com.google.auto.value", name = "auto-value")
val excludeBouncyCastle = ExclusionRule("org.bouncycastle")
val workbenchGoogle2: ModuleID =
"org.broadinstitute.dsde.workbench" %% "workbench-google2" % workbenchGoogle2V excludeAll (excludeWorkbenchModel, excludeWorkbenchUtil, excludeGoogleAutoValue, excludeBouncyCastle)
val workbenchNotifications: ModuleID =
"org.broadinstitute.dsde.workbench" %% "workbench-notifications" % workbenchNotificationsV excludeAll (excludeWorkbenchGoogle, excludeWorkbenchModel, excludeBouncyCastle)
"org.broadinstitute.dsde.workbench" %% "workbench-notifications" % workbenchNotificationsV excludeAll (excludeWorkbenchGoogle, excludeWorkbenchModel)
val workbenchGoogleTests: ModuleID =
"org.broadinstitute.dsde.workbench" %% "workbench-google" % workbenchGoogleV % "test" classifier "tests" excludeAll (excludeWorkbenchUtil, excludeWorkbenchModel)
val workbenchGoogle2Tests: ModuleID =
Expand Down
2 changes: 2 additions & 0 deletions project/Merging.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ object Merging {
case PathList("javax", "activation", _ @_*) => MergeStrategy.first
case PathList("javax", "xml", _ @_*) => MergeStrategy.first
case PathList("google", "protobuf", _ @_*) => MergeStrategy.first
case PathList("org", "bouncycastle", _ @_*) => MergeStrategy.first
case x if x.endsWith("/ModuleUtil.class") => MergeStrategy.first
case PathList("META-INF", "versions", "9", "module-info.class") => MergeStrategy.first
case PathList("META-INF", "io.netty.versions.properties") => MergeStrategy.first
case PathList("META-INF", "kotlin-result.kotlin_module") => MergeStrategy.first
case PathList("META-INF", "kotlin-stdlib.kotlin_module") => MergeStrategy.first
case PathList("META-INF", "kotlin-stdlib-common.kotlin_module") => MergeStrategy.first
case PathList("META-INF", "okio.kotlin_module") => MergeStrategy.first
case PathList("META-INF", "versions", "9", "OSGI-INF", "MANIFEST.MF") => MergeStrategy.first
case PathList("mozilla", "public-suffix-list.txt") => MergeStrategy.first
case "module-info.class" =>
MergeStrategy.discard
Expand Down

0 comments on commit ea32806

Please sign in to comment.