From 20ddb40b210d727c8d28d8cfb7c084a3fac6beff Mon Sep 17 00:00:00 2001 From: Seth Tisue Date: Tue, 28 Sep 2021 18:49:02 -0600 Subject: [PATCH] don't attempt to run genjavadoc on Scala 3 --- build.sbt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index fdbe60d..7c82719 100644 --- a/build.sbt +++ b/build.sbt @@ -130,7 +130,7 @@ lazy val scalaJava8Compat = (project in file(".")) sys.error("Java 8 or higher is required for this project.") }, - packageDoc / publishArtifact := !disableDocs + packageDoc / publishArtifact := !disableDocs && !scalaVersion.value.startsWith("3.") ) .settings( inConfig(JavaDoc)(Defaults.configSettings) ++ {