mirror of https://github.com/sbt/sbt.git
Make Configuration's copy private[this]
.. now that it doesn't need to share it with a parent type.
This commit is contained in:
parent
de360bb139
commit
95544d5175
|
|
@ -110,6 +110,10 @@ lazy val lmCore = (project in file("core"))
|
|||
exclude[MissingClassProblem]("sbt.internal.librarymanagement.InlineConfigurationFunctions"),
|
||||
// dropped internal class parent (InlineConfigurationFunctions)
|
||||
exclude[MissingTypesProblem]("sbt.librarymanagement.ModuleDescriptorConfiguration$"),
|
||||
|
||||
// Configuration's copy method was never meant to be public
|
||||
exclude[DirectMissingMethodProblem]("sbt.librarymanagement.Configuration.copy"),
|
||||
exclude[DirectMissingMethodProblem]("sbt.librarymanagement.Configuration.copy$default$*"),
|
||||
),
|
||||
)
|
||||
.configure(addSbtIO, addSbtUtilLogging, addSbtUtilPosition, addSbtUtilCache)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ final class Configuration private[sbt] (
|
|||
|
||||
override def toString: String = name
|
||||
|
||||
protected[this] def copy(
|
||||
private[this] def copy(
|
||||
id: String = id,
|
||||
name: String = name,
|
||||
description: String = description,
|
||||
|
|
|
|||
Loading…
Reference in New Issue