Skip to content
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

do not include global sbt plugins in dependencies #72

Closed
evantill opened this issue Oct 2, 2013 · 1 comment
Closed

do not include global sbt plugins in dependencies #72

evantill opened this issue Oct 2, 2013 · 1 comment

Comments

@evantill
Copy link

evantill commented Oct 2, 2013

I have two plugins defined in ~/.sbt/0.13/plugins.sbt

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1")
addSbtPlugin("com.orrsella" % "sbt-sublime" % "1.0.8")

the ls-write-version is including thems as dependencies in the json file

{
  "organization" : "rapture-io",
  "name" : "rapture-io",
  "version" : "0.8.3-SNAPSHOT",
  "description" : "Rapture I/O is a general purpose I/O library for Scala, providing much of the functionality of java.io and java.net, plus comprehensive support for working with JSON.",
  "site" : "http://rapture.io",
  "tags" : [ "scala", "io", "http", "url", "json" ],
  "docs" : "",
  "resolvers" : [ "http://dl.bintray.com/evantill/maven" ],
  "dependencies" : [ {
    "organization" : "com.github.mpeltonen",
    "name" : "sbt-idea",
    "version" : "1.5.1"
  }, {
    "organization" : "com.orrsella",
    "name" : "sbt-sublime",
    "version" : "1.0.8"
  }, {
    "organization" : "javax.mail",
    "name" : "mail",
    "version" : "1.4"
  } ],
  "scalas" : [ "2.10.2" ],
  "licenses" : [ {
    "name" : "Apache-2.0",
    "url" : "http://www.apache.org/licenses/LICENSE-2.0.txt"
  } ],
  "sbt" : false
}

It should not be the case (global plugins are specifics for a User or a Machine/OS.

@evantill
Copy link
Author

evantill commented Oct 3, 2013

the problem was in my configuration
my plugins were in ~/.sbt/0.13/plugins.sbt but the correct place is ~/.sbt/0.13/plugins/build.sbt

@evantill evantill closed this as completed Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant