mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 02:57:21 +02:00
Rework profile activation
- don't activate profiles activated by default if some user activated profiles are provided, and - accept OS / JDK conditions in activation
This commit is contained in:
@@ -285,7 +285,9 @@ class Helper(
|
||||
dependencies.toSet,
|
||||
forceVersions = forceVersions,
|
||||
filter = Some(dep => keepOptional || !dep.optional),
|
||||
profileActivation = Some(core.Resolution.userProfileActivation(userEnabledProfiles))
|
||||
userActivations =
|
||||
if (userEnabledProfiles.isEmpty) None
|
||||
else Some(userEnabledProfiles.iterator.map(_ -> true).toMap)
|
||||
)
|
||||
|
||||
val loggerFallbackMode =
|
||||
|
||||
Reference in New Issue
Block a user