ThisBuild / useCoursier := false

resolvers += Resolver.file("buggy", file("repo"))(
  Patterns(
    ivyPatterns = Vector("[organization]/[module]/[revision]/ivy.xml"),
    artifactPatterns = Vector("[organization]/[module]/[revision]/[artifact].[ext]"),
    isMavenCompatible = false,
    descriptorOptional = true,
    skipConsistencyCheck = true
  )
)

libraryDependencies += "a" % "b" % "1.0.0" % "compile->runtime" artifacts(Artifact("b1", "jar", "jar"))
libraryDependencies += "a" % "b" % "1.0.0" % "test->runtime" artifacts(Artifact("b1", "jar", "jar"))
