These are chat archives for sbt/sbt

29th
Jan 2017
Paul Draper
@pauldraper
Jan 29 14:22

I wonder though how it interacts with sbt-scalajs wanting to duplicate projects

I've wondered that too :) Since they, appropriately, take a very similar approach.
Haven't tried it yet with ScalaJS.

There's nothing magical about sbt-cross; it should work, but maybe with a teak, or maybe more verbosely than ideal.
andyr
@arobson73
Jan 29 15:23
ah my mistake with scalafx. just the %% that broke it.
object Dependencies {
val scalatest = "org.scalatest" %% "scalatest" % "3.0.1"
val reflect = "org.scala-lang" % "scala-reflect" % "2.12.1"
val scalafx = "org.scalafx" % "scalafx_2.12" % "8.0.102-R11"
}
Paul Draper
@pauldraper
Jan 29 15:29
"org.scalafx" % "scalafx_2.12" % "8.0.102-R11" and "org.scalafx" %% "scalafx" % "8.0.102-R11" are the same, assuming scalaVersion is 2.12.x.
andyr
@arobson73
Jan 29 15:33
it appends like this with %% 2.12_2.12. I could do %% with scalafx. yes for some reason, yesterday it no work. maybe I need to reload it more.
here my attempts yesterday. val scalatest = "org.scalatest" %% "scalatest" % "3.0.1"
//val scalafx = "org.scalafx" %% "scalafx" % "8.0.102-R11"
//val scalafx = "org.scalafx" %% "scalafx" % "scalafxVersion"
// val scalafx = "org.scalafx" % "scalafx" % "8.0.92-R10"
// val scalafx = "org.scalafx" %% "scalafx" % "8.0.60-R10"
no problem now.
andyr
@arobson73
Jan 29 15:39
I've just got the hang of maven repo, and now know the reference I need .
Nicolas Rinaudo
@nrinaudo
Jan 29 20:47
when writing public sbt plugins, is it good or bad practice to name them sbt-xxx?
for example, I'm thinking of making a small plugin that overrides sbt-ghpages settings to default values that work for gitlab pages. Would it be a good or a bad idea to call it sbt-glpages ?
(I'm basically wondering whether the sbt- namespace is reserved for people affiliated with sbt, or who actually know what they're doing)
Dale Wijnand
@dwijnand
Jan 29 22:11
it's a good practice, go for it man
@nrinaudo
Nicolas Rinaudo
@nrinaudo
Jan 29 22:14
Alright, thanks!
Paul Draper
@pauldraper
Jan 29 22:18
Assuming gl is Git Lab, you might want to check out https://github.com/sbt/sbt-ghpages and https://github.com/sbt/sbt-site
Nicolas Rinaudo
@nrinaudo
Jan 29 22:20
Well, precisely. I'm just overriding sbt-ghpages settings to make it work with gitlab
Paul Draper
@pauldraper
Jan 29 22:20
Nice
Nicolas Rinaudo
@nrinaudo
Jan 29 22:21
@eed3si9n just released sbt-ghpages 0.6.0, so I'm all set
eugene yokota
@eed3si9n
Jan 29 22:23
I used both sbt organization and sbt- plugin name long before I was officially affiliated with sbt and/or Lightbend
I'd encourage using GitHub sbt organization so multiple ppl can maintain it easier
like sbt-ghpages
Nicolas Rinaudo
@nrinaudo
Jan 29 22:27
@eed3si9n I think that might be overkill for my 4 lines autoplugin though