bintry

your packages, delivered fresh

License

License

MIT
Categories

Categories

Scala Languages
GroupId

GroupId

ch.epfl.scala
ArtifactId

ArtifactId

bintry_2.11
Last Version

Last Version

0.6.0-RC
Release Date

Release Date

Type

Type

jar
Description

Description

bintry
your packages, delivered fresh
Project URL

Project URL

https://github.com/sbt/bintry/#readme
Project Organization

Project Organization

ch.epfl.scala
Source Code Management

Source Code Management

https://github.com/sbt/bintry

Download bintry_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/ch.epfl.scala/bintry_2.11/ -->
<dependency>
    <groupId>ch.epfl.scala</groupId>
    <artifactId>bintry_2.11</artifactId>
    <version>0.6.0-RC</version>
</dependency>
// https://jarcasting.com/artifacts/ch.epfl.scala/bintry_2.11/
implementation 'ch.epfl.scala:bintry_2.11:0.6.0-RC'
// https://jarcasting.com/artifacts/ch.epfl.scala/bintry_2.11/
implementation ("ch.epfl.scala:bintry_2.11:0.6.0-RC")
'ch.epfl.scala:bintry_2.11:jar:0.6.0-RC'
<dependency org="ch.epfl.scala" name="bintry_2.11" rev="0.6.0-RC">
  <artifact name="bintry_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='ch.epfl.scala', module='bintry_2.11', version='0.6.0-RC')
)
libraryDependencies += "ch.epfl.scala" % "bintry_2.11" % "0.6.0-RC"
[ch.epfl.scala/bintry_2.11 "0.6.0-RC"]

Dependencies

compile (2)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.8
net.databinder.dispatch : dispatch-json4s-native_2.11 jar 0.12.0

test (1)

Group / Artifact Type Version
org.scalatest : scalatest_2.11 jar 3.0.0

Project Modules

There are no modules declared in this project.

bintry

your packages, delivered fresh

A scala interface for the bintray api.

install

copy and paste method

add the following to your sbt build definition

libraryDependencies += "org.foundweekends" %% "bintry" % "0.6.0"

usage

Create a new bintry Client with your bintray username and api key ( which can be found here )

import bintry._, dispatch._, dispatch.Defaults._, org.json4s._
val bty = Client(user, apikey)
val repo = bty.repo(user, "generic")

create a package

repo.createPackage("my-awesome-package",
                   "description of my awesome package",
                   Seq("MIT"))(as.json4s.Json)

create a version

repo.get("my-awesome-package").createVersion("0.1.0")(as.json4s.Json)

upload & publish it

repo.get("my-awesome-package").version("0.1.0")
               .upload("/baz", file("foo_2.10"),
                      publish = true)(as.json4s.Json)

metadata

You can assign typed metadata as attributes to packages and versions. Bintray expects these to be of type string, date, number, boolean or version. Bintry exposes these types as Attr.String(stringVal), Attr.Date(java.util.Date), Attr.Number(intVal), Attr.Boolean(boolVal) and Attr(stringVal) respectively.

Doug Tangren (softprops) 2013-2014

ch.epfl.scala

sbt

Community organization for all sbt plugin authors, sbt modules and sbt itself.

Versions

Version
0.6.0-RC