From 1275051974aeb0b47ba2ebb2d131e8363a99e463 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 24 Jan 2021 23:36:02 -0500 Subject: [PATCH] Deprecate externalPom Ref #5493 --- .../scala/sbt/internal/util/appmacro/ContextUtil.scala | 2 +- main/src/main/scala/sbt/Defaults.scala | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core-macros/src/main/scala/sbt/internal/util/appmacro/ContextUtil.scala b/core-macros/src/main/scala/sbt/internal/util/appmacro/ContextUtil.scala index 4bec6e63d..e87b13a21 100644 --- a/core-macros/src/main/scala/sbt/internal/util/appmacro/ContextUtil.scala +++ b/core-macros/src/main/scala/sbt/internal/util/appmacro/ContextUtil.scala @@ -157,7 +157,7 @@ final class ContextUtil[C <: blackbox.Context](val ctx: C) { case _ => () } - @deprecated("1.3.0", "Use that variant that specifies the M instance types to exclude") + @deprecated("Use that variant that specifies the M instance types to exclude", since = "1.3.0") /** * A function that checks the provided tree for illegal references to M instances defined in the * expression passed to the macro and for illegal dereferencing of M instances. diff --git a/main/src/main/scala/sbt/Defaults.scala b/main/src/main/scala/sbt/Defaults.scala index 9355cd4be..7fc7bbdb0 100644 --- a/main/src/main/scala/sbt/Defaults.scala +++ b/main/src/main/scala/sbt/Defaults.scala @@ -4279,6 +4279,10 @@ trait BuildExtra extends BuildCommon with DefExtra { baseDirectory.value / name } + @deprecated( + "externalIvyFile is not supported by Couriser, and will be removed in the future", + since = "1.5.0" + ) def externalIvyFile( file: Initialize[File] = inBase("ivy.xml"), iScala: Initialize[Option[ScalaModuleInfo]] = scalaModuleInfo @@ -4290,6 +4294,10 @@ trait BuildExtra extends BuildCommon with DefExtra { managedScalaInstance.value ) + @deprecated( + "externalPom is not supported by Coursier, and will be removed in the future", + since = "1.5.0" + ) def externalPom( file: Initialize[File] = inBase("pom.xml"), iScala: Initialize[Option[ScalaModuleInfo]] = scalaModuleInfo,