verizon / sbt-blockade Goto Github PK
View Code? Open in Web Editor NEWWarn or ban particular dependencies in a build to prevent usage.
License: Apache License 2.0
Warn or ban particular dependencies in a build to prevent usage.
License: Apache License 2.0
It seems, at least from my experiments, that sbt-blockade does not play nice with sbt-coursier for transitive dependency violations. It seems to work fine for direct dependencies. Here is my reproduction:
scalaVersion := "2.12.1"
blockadeUris := Seq(new java.net.URI(s"file:///${baseDirectory.in(ThisBuild).value}/blockade.json"))
compile in Compile := { blockade.value; (compile in Compile).value }
libraryDependencies += "co.fs2" %% "fs2-io" % "0.9.6"
{
"blacklist": [
{
"organization": "co.fs2",
"name": "fs2-core",
"range": "(,0.9.6]",
"expiry": "2017-09-21 00:00:00"
}
]
}
addSbtPlugin("io.verizon.build" % "sbt-blockade" % "0.2.35")
// addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.0-RC3")
sbt.version=0.13.15
Running blockade
warns as expected. Un-commenting the sbt-coursier
plugin and running again says it succeeds.
If the fs2-io
dependency is changed to fs2-core
then it seems to succeed with or without Coursier ๐คทโโ๏ธ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.