These are chat archives for sbt/sbt

29th
Aug 2017
You can find the publishTo URL by going to the bintray Package, click the blue Set me up! button, Uploading, Deploying with Maven
If you append ;publish=1 to the URL (as they show) it will publish immediately, otherwise you have to go into bintray and it will say N artifacts have been pushed with a link to Publish or Discard
Other than that it's just a matter of getting your bintray API key into sbt's credentials as I show
I have no idea why nobody knows this
That's really all it takes
Sébastien Doeraene
@sjrd
Aug 29 00:22
@nafg Thanks a lot for the info. I will try that out.
Sébastien Doeraene
@sjrd
Aug 29 08:26
@nafg Hum, I think your solution only works for Maven repositories on Bintray.
But for sbt plugins they're supposed to be published as an Ivy repository so that they have the correct ivy attributes.
Bintray only gives me an "Uploading with cURL" option under Set me up! for an ivy repo (generic, actually)
Mirco Dotta
@dotta
Aug 29 09:17
Is there any project out there showing how to set up a scripted test that runs against both sbt 0.13 and 1.0?
Maybe it also makes sense to ask if scripted supports this use case, ‘cause I’m not sure it does
Olli Helenius
@liff
Aug 29 09:23
@dotta there shouldn't be much to it. if your scripted tests work on both 0.13 and 1.0, set crossSbtVersions := List("0.13.16", "1.0.1") and run ^scripted
make sure there isn't project/build.properties in the scripted tests
Mirco Dotta
@dotta
Aug 29 09:27
@liff That works like a charm! And thanks for the note about project/build.properties!
Olli Helenius
@liff
Aug 29 09:28
it can be useful if you want some test to only run on 0.13 or 1.0
Mirco Dotta
@dotta
Aug 29 09:29
Good point.
Sébastien Doeraene
@sjrd
Aug 29 11:06
@nafg Hey, I managed to make it work! It turns out I could use the URL mentioned in the cURL set up, tweak it with undocumented Patterns for the Resolver, and voilà! scala-js/scala-js#3113
LukaJCB
@LukaJCB
Aug 29 12:30
Hey guys, is there a write-up anywhere for library authors wanting to cross-build with sbt 1.0.0 and 0.13.x? (:
Sébastien Doeraene
@sjrd
Aug 29 12:38
Why would a library author cross-build with sbt 1.0.0 and 0.13.x? That's not something that's visible to users of your library, so why care? Unless you mean sbt plugin authors?
LukaJCB
@LukaJCB
Aug 29 12:39
Ah, so I can just switch to 1.0? And my users won’t notice the difference?
Sébastien Doeraene
@sjrd
Aug 29 12:39
Yep.
LukaJCB
@LukaJCB
Aug 29 12:40
Well, that’s pretty amazing! Thank you very much :D
Sébastien Doeraene
@sjrd
Aug 29 12:40
np ;)
LukaJCB
@LukaJCB
Aug 29 12:47
Ah it seems I’m blocked by scalajs-bundler, oh well :D
Justin Kaeser
@jastice
Aug 29 15:53
what's the complete list of jars that sbt uses?