From c8de828830b910d4468bb83d6196e2b7d3c3a53f Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sat, 14 Sep 2024 23:31:26 -0400 Subject: [PATCH] refactor: Remove unused tasks **Problem/Solution** Unused setting ends up showing warnings on startup. This removes the unused settings from sbt 1.x remote cache. --- main/src/main/scala/sbt/RemoteCache.scala | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/src/main/scala/sbt/RemoteCache.scala b/main/src/main/scala/sbt/RemoteCache.scala index f4ade7a85..40113ec5d 100644 --- a/main/src/main/scala/sbt/RemoteCache.scala +++ b/main/src/main/scala/sbt/RemoteCache.scala @@ -142,9 +142,7 @@ object RemoteCache { }, pushRemoteCacheConfiguration / publishMavenStyle := true, Compile / packageCache / pushRemoteCacheArtifact := true, - Test / packageCache / pushRemoteCacheArtifact := true, Compile / packageCache / artifact := Artifact(moduleName.value, cachedCompileClassifier), - Test / packageCache / artifact := Artifact(moduleName.value, cachedTestClassifier), remoteCachePom / pushRemoteCacheArtifact := true, remoteCachePom := { val s = streams.value