Skip to content
This repository was archived by the owner on Mar 11, 2020. It is now read-only.

unmanagedSourceDirectories does not propagate #1

@rossabaker

Description

@rossabaker

When copied into a projects project directory, this plugin sets unmanagedSourceDirectories correctly. When used as a plugin, it does not:

[root] λ inspect unmanagedSourceDirectories
[info] Setting: scala.collection.Seq[java.io.File] = List(/Users/bakro29/src/http4s/src/main/scala-2.12, /Users/bakro29/src/http4s/src/main/scala, /Users/bakro29/src/http4s/src/main/java)
[info] Description:
[info] 	Unmanaged source directories, which contain manually created sources.
[info] Provided by:
[info] 	{file:/Users/bakro29/src/http4s/}http4s/compile:unmanagedSourceDirectories
[info] Defined at:
[info] 	(sbt.Defaults) Defaults.scala:193

scalazVersion, from the same plugin, works just fine:

[root] λ inspect scalazVersion
[info] Setting: java.lang.String = 7.2.9
[info] Description:
[info] 	The version of Scalaz used for building.
[info] Provided by:
[info] 	{file:/Users/bakro29/src/http4s/}http4s/*:scalazVersion
[info] Defined at:
[info] 	(verizon.build.ScalazPlugin) ScalazPlugin.scala:36

What is different about unmanagedSourceDirectories that it doesn't override Defaults.scala?

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