small


License

License

GroupId

GroupId

com.geirsson
ArtifactId

ArtifactId

coursier-small_2.12
Last Version

Last Version

1.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

small
small
Project URL

Project URL

https://github.com/olafurpg/coursier-small
Project Organization

Project Organization

com.geirsson
Source Code Management

Source Code Management

https://github.com/olafurpg/coursier-small

Download coursier-small_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/com.geirsson/coursier-small_2.12/ -->
<dependency>
    <groupId>com.geirsson</groupId>
    <artifactId>coursier-small_2.12</artifactId>
    <version>1.3.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.geirsson/coursier-small_2.12/
implementation 'com.geirsson:coursier-small_2.12:1.3.3'
// https://jarcasting.com/artifacts/com.geirsson/coursier-small_2.12/
implementation ("com.geirsson:coursier-small_2.12:1.3.3")
'com.geirsson:coursier-small_2.12:jar:1.3.3'
<dependency org="com.geirsson" name="coursier-small_2.12" rev="1.3.3">
  <artifact name="coursier-small_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.geirsson', module='coursier-small_2.12', version='1.3.3')
)
libraryDependencies += "com.geirsson" % "coursier-small_2.12" % "1.3.3"
[com.geirsson/coursier-small_2.12 "1.3.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.6

test (1)

Group / Artifact Type Version
com.lihaoyi : utest_2.12 jar 0.6.3

Project Modules

There are no modules declared in this project.

coursier-small

Build Status

This project is a small wrapper around the library APIs for Coursier with the objective to provide a stable binary compatible interface.

Goals:

  • never break binary compatibility
  • no transitive dependencies besides scala-library, coursier is shaded into an internal namespace

Non-goals:

  • support the full coursier library API, if you need advanced configuration such as authentication or custom cache locations use Coursier directly.

Usage

Maven Central

// Supports 2.10, 2.11 and 2.12
libraryDependencies += "com.geirsson" %% "coursier-small" % "VERSION"

Then use it like this

import com.geirsson.coursiersmall._
val dependency = new Dependency("com.geirsson", "scalafmt-cli_2.12", "1.5.1")
val settings = new Settings() .withDependencies(List(dependency))
val jars = CoursierSmall.fetch(settings)
// List(~/.coursier/cache/.../scalafmt-cli_2.12-1.5.1.jar, ...)

In case of resolution or file errors, the exceptions ResolutionException or FileException are thrown.

Versions

Version
1.3.3
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
1.0.0-M4
1.0.0-M3
1.0.0-M2
1.0.0-M1