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

Compatibility with SBT 1.x #13

Open
eximius313 opened this issue Oct 29, 2017 · 3 comments
Open

Compatibility with SBT 1.x #13

eximius313 opened this issue Oct 29, 2017 · 3 comments

Comments

@eximius313
Copy link

SBT 1.0.3 throws:

/myProject/project/plugins.sbt:1: error: type mismatch;
 found   : sbt.URI
    (which expands to)  java.net.URI
 required: sbt.ClasspathDep[sbt.ProjectReference]
lazy val root = (project in file(".")).dependsOn(sbtAutoprefixer)

How I can use sbtAutoprefixer with 1.0?

@mkurz
Copy link
Owner

mkurz commented Oct 29, 2017

Try (in project/plugins.sbt):

lazy val sbtAutoprefixer = RootProject(uri("git://github.com/mkurz/sbt-autoprefixer#a2bfc08bc15fa75b0c66715c101399a4b7459106"))
lazy val root = project.in(file(".")).dependsOn(sbtAutoprefixer)

@eximius313
Copy link
Author

It gives a warning about bintray:

[warn] Missing bintray credentials. Either create a credentials file with the bintrayChangeCredentials task, set the BINTRAY_USER and BINTRAY_PASS environment variables or pass bintray.user and bintray.pass properties to sbt.

but works, thanks!
BTW - maybe it's good to update README?

@mkurz
Copy link
Owner

mkurz commented Nov 3, 2017

@eximius313 If you provide a pull request I am happy to merge 😄

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

2 participants