Skip to content

"Abusing" github pages as a package repository for personal projects.

Notifications You must be signed in to change notification settings

arturaz/packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

How to use

import coursier.ivy.IvyRepository
import coursier.maven.MavenRepository

object MyModule extends ScalaModule {
  override def repositoriesTask = T.task {
    super.repositoriesTask() ++ Seq(
      IvyRepository.parse(
        "https://arturaz.github.io/packages/ivy2/[organization]/[module](_[scalaVersion])/[revision]/[type]s/[artifact](-[classifier]).[ext]"
      ) match {
        case Left(value)  => throw new Exception(value)
        case Right(value) => value
      },
      MavenRepository("https://arturaz.github.io/packages/maven/repository"),
    )
  }
}

Read the SBT documentation.

About

"Abusing" github pages as a package repository for personal projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published