Skip to content

Commit a0371f7

Browse files
authored
Don't add -Ymacro-annotations for Scala 3
1 parent 73966ad commit a0371f7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Binding/shared/build.sbt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,11 @@ libraryDependencies ++= {
3636
}
3737
}
3838

39-
scalacOptions += "-Ymacro-annotations"
39+
40+
scalacOptions ++= {
41+
if (scalaBinaryVersion.value == "2.13") {
42+
Some("-Ymacro-annotations")
43+
} else {
44+
None
45+
}
46+
}

0 commit comments

Comments
 (0)