-
Notifications
You must be signed in to change notification settings - Fork 928
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sbt 0.13] Fix logging + clean concurrency issue #3834
Conversation
main/src/main/scala/sbt/Keys.scala
Outdated
@@ -107,8 +107,8 @@ object Keys { | |||
val classDirectory = SettingKey[File]("class-directory", "Directory for compiled classes and copied resources.", AMinusSetting) | |||
@deprecated("Use the cacheDirectory provided by streams.", "0.13.0") | |||
val cacheDirectory = SettingKey[File]("cache-directory", "Directory used for caching task data.", BMinusSetting) | |||
val cleanFiles = SettingKey[Seq[File]]("clean-files", "The files to recursively delete during a clean.", BSetting) | |||
val cleanKeepFiles = SettingKey[Seq[File]]("clean-keep-files", "Files to keep during a clean.", CSetting) | |||
val cleanFiles = TaskKey[Seq[File]]("clean-files", "The files to recursively delete during a clean.", BSetting) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bincompat?
I think we need to introduce a new key.
@@ -108,7 +108,8 @@ object Keys { | |||
@deprecated("Use the cacheDirectory provided by streams.", "0.13.0") | |||
val cacheDirectory = SettingKey[File]("cache-directory", "Directory used for caching task data.", BMinusSetting) | |||
val cleanFiles = SettingKey[Seq[File]]("clean-files", "The files to recursively delete during a clean.", BSetting) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be deprecated? The Scala build customized this setting but since upgrading to 0.13.17 it seems to be ignored and clean
doesn't clean our custom target directories of build/quick/classes/<subproject>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. The setting is no longer used.
This is a backport request via the Lightbend subscription.
Backport of #3093
Fixes #3811