An example of Maven and SBT projects that publish artifacts on Bintray, and an example of project that uses published artifacts
Scala versions:
2.12
bintray-hello-world-scala 1.0
Group ID:
me.ivanyu.bintrayhelloworld
Artifact ID:
bintray-hello-world-scala_2.12
Version:
1.0
Release Date:
Aug 10, 2017
Licenses:
libraryDependencies += "me.ivanyu.bintrayhelloworld" %% "bintray-hello-world-scala" % "1.0" resolvers += Resolver.bintrayRepo("ivanyu", "bintray-hello-world-repo")
ivy"me.ivanyu.bintrayhelloworld::bintray-hello-world-scala:1.0" MavenRepository("https://dl.bintray.com/ivanyu/bintray-hello-world-repo")
//> using dep "me.ivanyu.bintrayhelloworld::bintray-hello-world-scala:1.0"
import $ivy.`me.ivanyu.bintrayhelloworld::bintray-hello-world-scala:1.0` import ammonite._, Resolvers._ val res = Resolver.Http( "Bintray ivanyu bintray-hello-world-repo", "Some(https://dl.bintray.com/ivanyu/bintray-hello-world-repo)", IvyPattern, false) interp.resolvers() = interp.resolvers() :+ res
<dependency> <groupId>me.ivanyu.bintrayhelloworld</groupId> <artifactId>bintray-hello-world-scala_2.12</artifactId> <version>1.0</version> </dependency>
compile group: 'me.ivanyu.bintrayhelloworld', name: 'bintray-hello-world-scala_2.12', version: '1.0'