From 3a6ea2603dbf5a87129e658344194345808852bd Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Sun, 27 Nov 2016 11:56:15 +0900 Subject: [PATCH] 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 --- build.sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 257e6b28f..ccb366cae 100644 --- a/build.sbt +++ b/build.sbt @@ -56,8 +56,8 @@ val buildSettings = findbugsSettings ++ jacoco.settings ++ osgiSettings ++ Seq[S jcheckStyleConfig := "facebook", // Run jcheckstyle both for main and test codes - compile <<= (compile in Compile) dependsOn (jcheckStyle in Compile), - compile <<= (compile in Test) dependsOn (jcheckStyle in Test) + (compile in Compile) := ((compile in Compile) dependsOn (jcheckStyle in Compile)).value, + (compile in Test) := ((compile in Test) dependsOn (jcheckStyle in Test)).value ) val junitInterface = "com.novocode" % "junit-interface" % "0.11" % "test"