mirror of https://github.com/sbt/sbt.git
Deprecate useJCenter key
This commit is contained in:
parent
87792c2e7e
commit
1ba63a1c07
|
|
@ -3032,6 +3032,7 @@ object Classpaths {
|
|||
publishM2 := publishOrSkip(publishM2Configuration, publishM2 / skip).value
|
||||
)
|
||||
|
||||
@nowarn("cat=deprecation")
|
||||
private[this] def baseGlobalDefaults =
|
||||
Defaults.globalDefaults(
|
||||
Seq(
|
||||
|
|
@ -3102,6 +3103,7 @@ object Classpaths {
|
|||
)
|
||||
)
|
||||
|
||||
@nowarn("cat=deprecation")
|
||||
val ivyBaseSettings: Seq[Setting[_]] = baseGlobalDefaults ++ sbtClassifiersTasks ++ Seq(
|
||||
conflictWarning := conflictWarning.value.copy(label = Reference.display(thisProjectRef.value)),
|
||||
unmanagedBase := baseDirectory.value / "lib",
|
||||
|
|
|
|||
|
|
@ -530,6 +530,7 @@ object Keys {
|
|||
val otherResolvers = taskKey[Seq[Resolver]]("Resolvers not included in the main resolver chain, such as those in module configurations.").withRank(CSetting)
|
||||
val scalaCompilerBridgeResolvers = taskKey[Seq[Resolver]]("Resolvers used to resolve compiler bridges.").withRank(CSetting)
|
||||
val includePluginResolvers = settingKey[Boolean]("Include the resolvers from the metabuild.").withRank(CSetting)
|
||||
@deprecated("JCenter has sunset", "1.10.4")
|
||||
val useJCenter = settingKey[Boolean]("Use JCenter as the default repository.").withRank(CSetting)
|
||||
val moduleConfigurations = settingKey[Seq[ModuleConfiguration]]("Defines module configurations, which override resolvers on a per-module basis.").withRank(BMinusSetting)
|
||||
val retrievePattern = settingKey[String]("Pattern used to retrieve managed dependencies to the current build.").withRank(DSetting)
|
||||
|
|
|
|||
Loading…
Reference in New Issue