MaatDeamon
MaatDeamon

Reputation: 9771

Excluding aggregating project from SBT jar assembly production

How can one exclude an aggregating project that does nothing but aggregating subproject from producing a jar file ?

Upvotes: 0

Views: 115

Answers (1)

pedromss
pedromss

Reputation: 2453

You must disable the plugin for the aggregating project:

aggregatorProject.disablePlugins(AssemblyPlugin)

This will however disable the plugin for the aggregator and the aggregated projects.

You can enable the plugin for the aggregated projects by enabling them explicitly:

aggregatedProject.enablePlugins(AssemblyPlugin)

Upvotes: 1

Related Questions