Skip to content

No way to enable plugin after it was disabled #1926

@OlegYch

Description

@OlegYch

i have a bunch of projects and use sbt-assembly
i want sbt-assembly to be disabled by default (not sure why this is not the default)
so i use myProject(id, base) = Project(id, base).disablePlugins(Assembly).bunchofotherdefaults
in one particular project i want to enable the plugin, but i get an exception if i use enablePlugin

sbt.AutoPluginException: Error determining plugins for project 'keen-storefront' in D:\keen\storefront:
Contradiction in selected plugins.  These plugins were both included and excluded: sbtassembly.AssemblyPlugin
        at sbt.AutoPluginException.withPrefix(Plugins.scala:106)

imo the last setting should win just like it behaves everywhere, and there should be no exceptional cases

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions