diff --git a/build.sbt b/build.sbt index 078df862f..b0fa5799b 100644 --- a/build.sbt +++ b/build.sbt @@ -122,7 +122,10 @@ lazy val sbtPlugin = Project(id = "sbt-akka-grpc", base = file("sbt-plugin")) }, scriptedBufferLog := false, crossScalaVersions := Dependencies.Versions.CrossScalaForPlugin, - scalaVersion := Dependencies.Versions.CrossScalaForPlugin.head) + scalaVersion := Dependencies.Versions.CrossScalaForPlugin.head, + publishConfiguration := publishConfiguration.value.withArtifacts( + // avoid publishing the plugin jar twice + publishConfiguration.value.artifacts.filter(_._1.name.contains("2.12_1.0")))) .dependsOn(codegen) lazy val interopTests = Project(id = "akka-grpc-interop-tests", base = file("interop-tests"))