-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
don't add to libraryDependencies unless enabled #153
Comments
It should actually never be added in a package. And only added when you On 3 January 2016 at 11:29, Sam Halliday notifications@github.com wrote:
|
this is our setup https://github.com/ensime/ensime-server/blob/master/project/EnsimeBuild.scala it looks like here the rather than here, when it is enabled, |
Hey, adding to the discussion. On <dependency>
<groupId>org.scoverage</groupId>
<artifactId>scalac-scoverage-runtime_2.11</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.scoverage</groupId>
<artifactId>scalac-scoverage-plugin_2.11</artifactId>
<version>1.1.1</version>
<scope>provided</scope>
</dependency> I'm pretty sure there shouldn't be any |
yes, this is exactly the same thing. |
I also noticed this when looking at the pom for cats-kernel here https://github.com/non/cats/pull/806#issuecomment-171791057 |
that was sneaky! I didn't even see you fix this 😄 Will there be a release soon? |
Lol. Do you want to confirm it before I do? On 21 January 2016 at 20:49, Sam Halliday notifications@github.com wrote:
|
do you publish snapshots? |
I'll test locally |
ok, I need you to publish a snapshot. classic mismatched pgp config stuff...
I personally put all my gpg setup in my global settings to avoid this nonsense. |
What's the advantage of that one vs the one I use ? On 21 January 2016 at 21:12, Sam Halliday notifications@github.com wrote:
|
I think this is the latest version and yours is the deprecated one. |
Ahh so the com.typesafe one is deprecated and com.josh one is the latest. On 22 January 2016 at 07:28, Sam Halliday notifications@github.com wrote:
|
I've just tried to test it, but it doesn't work. Simple |
It's green on travis. It's green on my machine. What makes you think it doesn't work. sam@sam-xubuntu:~/development/workspace/scoverage/sbt-scoverage$ sbt clean test |
|
I think current |
Because of this issue: scoverage/sbt-scoverage#153
Removed scoverage plugin from the published pom (ref: scoverage/sbt-scoverage#153) Updated scm section
I've noticed that the scoverage plugin and runtime support is added to
libraryDependencies
even if coverage is not enabled. Would it be hard to not do it this way? And only add the jars when coverage is enabled?Currently, scoverage gets added as a provided dependency on Maven Central to all projects that might use it (plus it shows up as a real dependency in IDEs)
The text was updated successfully, but these errors were encountered: