From 27c5430f28f69a0965839d347d17d9caa39b0f8c Mon Sep 17 00:00:00 2001 From: Alex Archambault Date: Tue, 2 May 2023 01:10:09 +0200 Subject: [PATCH 1/2] Exclude all the plexus libraries These are used by coursier.cache.ArchiveCache, that is unused in sbt-coursier / lm-coursier --- build.sbt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 3cc1ca9c9..f3e9b7d8f 100644 --- a/build.sbt +++ b/build.sbt @@ -24,9 +24,10 @@ inThisBuild(List( Global / excludeLintKeys += scriptedBufferLog Global / excludeLintKeys += scriptedLaunchOpts -lazy val coursierVersion0 = "2.1.2" -lazy val coursierDep = ("io.get-coursier" %% "coursier" % coursierVersion0) - .exclude("com.github.luben", "zstd-jni") +def coursierVersion0 = "2.1.2" +def coursierDep = ("io.get-coursier" %% "coursier" % coursierVersion0) + .exclude("org.codehaus.plexus", "plexus-archiver") + .exclude("org.codehaus.plexus", "plexus-container-default") def dataclassGen(data: Reference) = Def.taskDyn { val root = (ThisBuild / baseDirectory).value.toURI.toString From 4a862056c2e97b6b7339f1e3f00fb4be7ec9537e Mon Sep 17 00:00:00 2001 From: Alex Archambault Date: Tue, 2 May 2023 01:11:04 +0200 Subject: [PATCH 2/2] Add .vscode/ to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 35262b401..43c4b45bb 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ target/ .metals/ .bloop/ metals.sbt +.vscode/ # Intellij .idea/