Skip to content

Commit 3a6ea26

Browse files
committed
fix warning in build.sbt
``` /home/travis/build/msgpack/msgpack-java/build.sbt:59: warning: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`. See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html compile <<= (compile in Compile) dependsOn (jcheckStyle in Compile), ^ /home/travis/build/msgpack/msgpack-java/build.sbt:60: warning: `<<=` operator is deprecated. Use `key := { x.value }` or `key ~= (old => { newValue })`. See http://www.scala-sbt.org/0.13/docs/Migrating-from-sbt-012x.html compile <<= (compile in Test) dependsOn (jcheckStyle in Test) ^ ``` https://travis-ci.org/msgpack/msgpack-java/jobs/179129836#L277
1 parent c4562d7 commit 3a6ea26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ val buildSettings = findbugsSettings ++ jacoco.settings ++ osgiSettings ++ Seq[S
5656
jcheckStyleConfig := "facebook",
5757

5858
// Run jcheckstyle both for main and test codes
59-
compile <<= (compile in Compile) dependsOn (jcheckStyle in Compile),
60-
compile <<= (compile in Test) dependsOn (jcheckStyle in Test)
59+
(compile in Compile) := ((compile in Compile) dependsOn (jcheckStyle in Compile)).value,
60+
(compile in Test) := ((compile in Test) dependsOn (jcheckStyle in Test)).value
6161
)
6262

6363
val junitInterface = "com.novocode" % "junit-interface" % "0.11" % "test"

0 commit comments

Comments
 (0)