Skip to content

Commit

Permalink
Removes annoying compiler warnings reported by -Xlint flag (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno committed Apr 28, 2017
1 parent dec9438 commit b869e17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project/ProjectPlugin.scala
Expand Up @@ -27,7 +27,8 @@ object ProjectPlugin extends AutoPlugin {
micrositeDocumentationUrl := "/github4s/docs.html",
micrositeGithubOwner := "47deg",
micrositeGithubRepo := "github4s",
includeFilter in Jekyll := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.md"
includeFilter in Jekyll := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.md",
tutScalacOptions ~= (_ filterNot Set("-Ywarn-unused-import", "-Xlint").contains)
)

lazy val testSettings = Seq(
Expand Down Expand Up @@ -79,6 +80,7 @@ object ProjectPlugin extends AutoPlugin {
case "2.10" => Seq("-Xdivergence211")
case _ => Nil
}),
scalacOptions ~= (_ filterNot Set("-Xlint").contains),
orgGithubTokenSetting := "GITHUB4S_ACCESS_TOKEN",
orgBadgeListSetting := List(
TravisBadge.apply(_),
Expand Down

0 comments on commit b869e17

Please sign in to comment.