mirror of
https://github.com/sbt/sbt.git
synced 2026-10-06 10:03:56 +02:00
Put default conflict warnings at the debug level. Fixes #709.
This is at debug instead of disabled so as to be a minimal change during a point release. It is dropped to debug because the conflict warnings don't work correctly, especially for the artifacts they were designed for, sbt and Scala. This is due to the overrides and excludes present in 0.12.x. The other possible use of conflictWarning is for general libraries, but in 0.13 that is better served by using a strict conflict manager. Therefore, 0.13 should drop the warnings based on the evicted modules completely.
This commit is contained in:
+1
-1
@@ -768,7 +768,7 @@ object Classpaths
|
||||
publishLocal <<= publishTask(publishLocalConfiguration, deliverLocal)
|
||||
)
|
||||
val baseSettings: Seq[Setting[_]] = sbtClassifiersTasks ++ Seq(
|
||||
conflictWarning in GlobalScope :== ConflictWarning.default("global"),
|
||||
conflictWarning in GlobalScope :== ConflictWarning.default("global").copy(level = Level.Debug),
|
||||
conflictWarning <<= (thisProjectRef, conflictWarning) { (ref, cw) => cw.copy(label = Project.display(ref)) },
|
||||
unmanagedBase <<= baseDirectory / "lib",
|
||||
normalizedName <<= name(StringUtilities.normalize),
|
||||
|
||||
Reference in New Issue
Block a user