Skip to content

Commit

Permalink
Merge pull request #24 from benmccann/sbt-0.13.10
Browse files Browse the repository at this point in the history
Upgrade to sbt 0.13.11 in order to correctly get info from parent poms
  • Loading branch information
eed3si9n committed Feb 25, 2016
2 parents f62349c + 3a0ed6e commit 744a645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.8
sbt.version=0.13.11
4 changes: 2 additions & 2 deletions src/sbt-test/dumpLicenseReport/default-report/example.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ excludeDependencies += SbtExclusionRule(organization = "org.scala-lang")

TaskKey[Unit]("check") := {
val contents = sbt.IO.read(target.value / "license-reports" / "example-licenses.md")
if (!contents.contains("jackson-databind"))
sys.error("Expected report to contain jackson-databind: " + contents)
if (!contents.contains("[The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | com.fasterxml.jackson.core # jackson-databind # 2.5.4"))
sys.error("Expected report to contain jackson-databind with Apache license: " + contents)
// Test whether exclusions are included.
if (contents.contains("scala-library"))
sys.error("Expected report to NOT contain scala-library: " + contents)
Expand Down

0 comments on commit 744a645

Please sign in to comment.