Skip to content

Commit 61f8036

Browse files
committed
apply new sbt syntax
1 parent 28e01a2 commit 61f8036

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sbt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,14 +594,14 @@ lazy val `kamon-armeria` = (project in file("instrumentation/kamon-armeria"))
594594
logbackClassic % "test"
595595
) ++ grpcDependencies
596596
},
597-
skip in Test := {
597+
Test / skip := {
598598
CrossVersion.partialVersion(scalaVersion.value) match {
599599
case Some((2, n)) if n >= 12 => false
600600
case _ => true // skip scala 2.11 tests because of compatibility issues with protobuf
601601
}
602602
},
603-
PB.protoSources in Test := Seq(file("instrumentation/kamon-armeria/src/test/protobuf")),
604-
PB.targets in Test := Seq(scalapb.gen() -> (sourceManaged in Test).value)
603+
Test / PB.protoSources := Seq(file("instrumentation/kamon-armeria/src/test/protobuf")),
604+
Test / PB.targets := Seq(scalapb.gen() -> (Test / sourceManaged).value)
605605
)
606606
.dependsOn(`kamon-instrumentation-common`, `kamon-testkit` % "test")
607607

0 commit comments

Comments
 (0)