Skip to content

Commit 1d581bb

Browse files
committed
Patch destructive libraryDependencies := with ++=
1 parent 681b384 commit 1d581bb

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

coordinator/configs/projects-config.conf

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,6 @@ apache_pekko-connectors{
149149
replace-with = """: @unchecked"""
150150
}]
151151
}
152-
apache_pekko-management {
153-
source-patches = [{
154-
path = "build.sbt"
155-
pattern = "libraryDependencies :="
156-
replace-with = "libraryDependencies ++="
157-
}]
158-
}
159152
apache_pekko-persistence-r2dbc.tests = compile-only
160153
arainko_ducktape {
161154
source-version = 3.3
@@ -1614,13 +1607,6 @@ timbertson_flogger {
16141607
replace-with = ""
16151608
}]
16161609
}
1617-
tminglei_slick-pg {
1618-
source-patches = [{
1619-
path = "build.sbt"
1620-
pattern = "libraryDependencies :="
1621-
replace-with = "libraryDependencies ++="
1622-
}]
1623-
}
16241610
tofu-tf_tofu{
16251611
sbt.commands = [
16261612
# Does not compile

coordinator/src/main/scala/ProjectConfigDiscovery.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,11 @@ class ProjectConfigDiscovery(internalProjectConfigsPath: java.io.File, requiredC
303303
defn @ AddSbtPlugin("org.typelevel", "sbt-typelevel-settings", SemVerRef(version))
304304
) if version < SemVersion.unsafe("0.7.7") =>
305305
patch(line, defn.copy(version = "0.7.7").show)
306+
307+
case s"${_}libraryDependencies :=${_}" => patch(
308+
pattern = "libraryDependencies :=",
309+
replacement = "libraryDependencies ++= "
310+
)
306311
}
307312
}
308313
end discoverSourcePatches

0 commit comments

Comments
 (0)