Exclude all the plexus libraries

These are used by coursier.cache.ArchiveCache, that is unused in
sbt-coursier / lm-coursier
This commit is contained in:
Alex Archambault 2023-05-02 01:10:09 +02:00
parent c41a4e0d66
commit 27c5430f28
1 changed files with 4 additions and 3 deletions

View File

@ -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