Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 1013 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 1013 Bytes

GAR Coursier

Coursier comes with the capability to resolve URLs with custom protocols. This requires an implementation of URLStreamHandlerFactory in the package coursier.cache.protocol. This library offers an implementation for Google Artifact Registry (GAR) urls protocol artifactregistry://.

Usage

SBT

Support is still in development.

Scala Steward

Support is still in development

Coursier

Coursier will search for your plugin with the following order on various classloaders:

  1. Custom classloaders provided via the API (see FileCache.withClassLoaders)
  2. Thread.currentThread().getContextClassLoader
  3. The classloader that loaded coursier itself (more precisely, coursier.cache.CacheUrl.getClass.getClassLoader)

https://get-coursier.io/docs/extra.html#extra-protocols