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

unmanagedSourceDirectories does not propagate #1

Open
rossabaker opened this issue Jul 12, 2017 · 0 comments
Open

unmanagedSourceDirectories does not propagate #1

rossabaker opened this issue Jul 12, 2017 · 0 comments

Comments

@rossabaker
Copy link
Contributor

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant