Add a tag for the assembly tasks. This can be used to restrict resource usages.
Why do we need this?
Version 2 of sbt-assembly uses more resources. This is problematic when executing assembly on a multi-module project causing different types of errors. I've encountered memory and to many open files issue. Adding a tag gives the user of the plugin the option to restrict concurrent executions with Global / concurrentRestrictions += Tags.limit(Assembly.assemblyTag, 1)
Things to consider
Should we reuse some of the existing tags? Sbt has defined both cpu, memory and disk tags.
Should the plugin have a default limit on the tag?
Add a tag for the assembly tasks. This can be used to restrict resource usages.
Why do we need this?
Version 2 of sbt-assembly uses more resources. This is problematic when executing
assembly
on a multi-module project causing different types of errors. I've encountered memory and to many open files issue. Adding a tag gives the user of the plugin the option to restrict concurrent executions withGlobal / concurrentRestrictions += Tags.limit(Assembly.assemblyTag, 1)
Things to consider