Skip to content

Commit

Permalink
Temporary - drop resolveFilters
Browse files Browse the repository at this point in the history
These ought to be replaced by having those plugins use compile-time
dependencies for most of their own dependencies
  • Loading branch information
alexarchambault committed Dec 18, 2024
1 parent 9434d99 commit ca347cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ trait ScoverageModule extends ScalaModule { outer: ScalaModule =>

millProjectModule(
workerArtifact,
repositoriesTask(),
resolveFilter = _.toString.contains(workerArtifact)
repositoriesTask()
)
}

Expand Down
3 changes: 1 addition & 2 deletions kotlinlib/src/mill/kotlinlib/KotlinModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ trait KotlinModule extends JavaModule { outer =>
private[kotlinlib] def kotlinWorkerClasspath = Task {
millProjectModule(
"mill-kotlinlib-worker-impl",
repositoriesTask(),
resolveFilter = _.toString.contains("mill-kotlinlib-worker-impl")
repositoriesTask()
)
}

Expand Down
3 changes: 1 addition & 2 deletions scalajslib/src/mill/scalajslib/ScalaJSModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ trait ScalaJSModule extends scalalib.ScalaModule { outer =>
def scalaJSWorkerClasspath = Task {
mill.util.Util.millProjectModule(
artifact = s"mill-scalajslib-worker-${scalaJSWorkerVersion()}",
repositories = repositoriesTask(),
resolveFilter = _.toString.contains("mill-scalajslib-worker")
repositories = repositoriesTask()
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ trait ScalaNativeModule extends ScalaModule { outer =>
def scalaNativeWorkerClasspath = Task {
millProjectModule(
s"mill-scalanativelib-worker-${scalaNativeWorkerVersion()}",
repositoriesTask(),
resolveFilter = _.toString.contains("mill-scalanativelib-worker")
repositoriesTask()
)
}

Expand Down

0 comments on commit ca347cc

Please sign in to comment.