mkurz / sbt-autoprefixer

sbt-web plugin that adds vendor-specific prefixes to CSS using Autoprefixer
Other
2 stars 5 forks source link

Compatibility with SBT 1.x #13

Open eximius313 opened 7 years ago

eximius313 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago

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