Skip to content

Add support for unmanagedSourceDirectories over unmanagedSources #26

@DomBlack

Description

@DomBlack

At the moment the plugin is based on unmanagedSources which defaults to *.scala and *.java only. However the plugin allows us to specify headers by extension.

I believe the better solution would be to modify the plugin to use the unmanagedSourceDirectories key and find all the matching files in those directories based on the headerSettings map passed in, rather than getting the user to both specify the extension in the map, and then update their includeFilter in (Compile, unmanagedSources ) to include custom extensions too.

This is useful when dealing with plugins which use different file formats, but still can take copyright headers (such as .proto files and .txt files for i18n)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions