Does Scala have a repository where one can publish scala libraries?


#1

Does Scala has a central repo for publishing packages like there is clojar for clojure ?

Thank you !


#2

You would normally publish to Maven Central or Sonatype. See https://www.scala-sbt.org/1.x/docs/Publishing.html for a guide to publishing.


#3

The easiest is to publish to bintray.


#4

Ah, OK, I may be a little behind but as far as I know Bintray is not in the default resolvers list, whereas Maven and Sonatype are.


#5

Yeah, unfortunately. See https://github.com/sbt/sbt/issues/3594

That said, it is the easiest to publish to, with a very minimal burden on
the user.


#6

Since Scala translates to Java bytecode, you can publish to the same repos
as you would for a Java project.