From 975ed70e18e6f2dbe485b40c68996c9179199e8e Mon Sep 17 00:00:00 2001 From: Kellen Dye Date: Thu, 26 Oct 2023 02:01:37 -0400 Subject: [PATCH] simpler --- build.sbt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sbt b/build.sbt index 04fed66..6ca63ea 100644 --- a/build.sbt +++ b/build.sbt @@ -45,9 +45,8 @@ lazy val commonSettings = Def.settings( ) ) -lazy val prePackageArtifact = taskKey[Unit]("Force doPatchPluginXml run before artifact is built") -prePackageArtifact := Def.sequential(packageMappings, doPatchPluginXml).value -packageArtifact := (packageArtifact dependsOn prePackageArtifact).value +// Avoid racing doPatchPluginXml against packageMappings +packageArtifact := (packageArtifact dependsOn Def.sequential(packageMappings, doPatchPluginXml)).value lazy val ideaSettings = Def.settings( ThisBuild / intellijPluginName := "scio-idea",