Open giovannicandido opened 10 years ago
Hi, I will give a try tomorow ... I've never tried with slick 2.0.0. You can take a look to https://github.com/Jug-Montpellier/jug-play-scalathat uses slick 1.0.0 Cheers, Olivier
√olivier/mobile Le 5 févr. 2014 22:56, "Giovanni Candido da Silva" notifications@github.com a écrit :
Hi,
In my project I have:
import sbt. import Keys. import play.Project._
object ApplicationBuild extends Build {
val appName = "Clientes" val appVersion = "1.0" val appDependencies = Seq( jdbc, "com.typesafe.slick" %% "slick" % "2.0.0" )
val main = play.Project(appName, appVersion, appDependencies).settings( // Add your own project settings here )
}
My plugins.sbt settings:
logLevel := Level.Warn
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.1")
addSbtPlugin("net.orcades" % "sbt-dart-plugin" % "0.2.2-SNAPSHOT")
And finally my build.sbt file
resolvers += Resolver.url("Local Ivy", url("file://"+Path.userHome.absolutePath+"/.ivy2/local"))(Resolver.ivyStylePatterns)
resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
The project don't compile with error on importing slick library. When I comment the line addSbtPlugin from sbt-dart-plugin the project compiles successful.
Is like in some way the plugin is overriding dependencies. This could be a bug?
It's strange, and I stating to find sbt really unpredictable.
— Reply to this email directly or view it on GitHubhttps://github.com/cheleb/sbt-dart-plugin/issues/4 .
Hi,
In my project I have:
My plugins.sbt settings:
And finally my build.sbt file
The project don't compile with error on importing slick library. When I comment the line addSbtPlugin from sbt-dart-plugin the project compiles successful.
Is like in some way the plugin is overriding dependencies. This could be a bug?
It's strange, and I stating to find sbt really unpredictable.