Fix exclude-dependencies and exclude-dependencies2

This commit is contained in:
Adrien Piquerez 2024-03-26 16:14:12 +01:00
parent 3d3b347c8f
commit 5c2b95980b
3 changed files with 4 additions and 0 deletions

View File

@ -295,6 +295,10 @@ trait Import {
type IvyScala = sbt.librarymanagement.ScalaModuleInfo
val JCenterRepository = sbt.librarymanagement.Resolver.JCenterRepository
val JavaNet2Repository = sbt.librarymanagement.Resolver.JavaNet2Repository
import sbt.librarymanagement.{ InclExclRule, DependencyBuilders }
given Conversion[String, InclExclRule] = InclExclRule.stringToExclusionRule
given Conversion[DependencyBuilders.OrganizationArtifactName, InclExclRule] =
InclExclRule.organizationArtifactNameToExclusionRule
// todo: fix
// val License = sbt.librarymanagement.License