Skip to content

Commit 9748a2f

Browse files
committed
Update to slash syntax in sbt
1 parent 605d217 commit 9748a2f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sonatypeProfileName := "com.thesamet"
66

77
sonatypeBundleDirectory := (ThisBuild / baseDirectory).value / "target" / "sonatype-staging"
88

9-
skip in publish := true
9+
publish / skip := true
1010

1111
/* Skipping common protos due to https://github.com/googleapis/api-common-protos/issues/83
1212
def commonProtos =

project/BuildHelpers.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ final case class ProtosProject(
6060
"sh",
6161
"unix"
6262
)),
63-
PB.targets in Compile := Seq(
63+
Compile / PB.targets := Seq(
6464
(
6565
PB.gens.plugin("scala"),
6666
Seq("java_conversions")
67-
) -> (sourceManaged in Compile).value / "protobuf"
67+
) -> (Compile / sourceManaged).value / "protobuf"
6868
),
6969
createTags := createTagsImpl.value,
7070
publish / skip := (sys.env

0 commit comments

Comments
 (0)