Skip to content

Commit

Permalink
Disabling unused imports for sample projects
Browse files Browse the repository at this point in the history
  • Loading branch information
blast-hardcheese committed May 11, 2019
1 parent b2bbb8e commit e4b9c44
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.sbt
Expand Up @@ -157,7 +157,6 @@ val codegenSettings = Seq(
scalacOptions in ThisBuild ++= Seq(
"-Ypartial-unification",
"-Ydelambdafy:method",
"-Ywarn-unused-import",
"-feature",
"-unchecked",
"-deprecation",
Expand Down Expand Up @@ -194,7 +193,10 @@ lazy val codegen = (project in file("modules/codegen"))
"org.typelevel" %% "cats-free" % catsVersion,
"org.scala-lang.modules" %% "scala-java8-compat" % "0.9.0",
),
scalacOptions += "-language:higherKinds",
scalacOptions ++= List(
"-language:higherKinds",
"-Ywarn-unused-import",
),
bintrayRepository := {
if (isSnapshot.value) "snapshots"
else "releases"
Expand Down

0 comments on commit e4b9c44

Please sign in to comment.