Scala case class builder design pattern using Miles Sabin's shapeless library

shapeless-builder 1.0.0


Group ID:
com.github.dmrolfs
Artifact ID:
shapeless-builder_2.11
Version:
1.0.0
Release Date:
Jan 11, 2016
Licenses:
MIT

libraryDependencies += "com.github.dmrolfs" %% "shapeless-builder" % "1.0.0"
resolvers += Resolver.bintrayRepo("omen", "maven")

Mill build tool

ivy"com.github.dmrolfs::shapeless-builder:1.0.0"
MavenRepository("https://dl.bintray.com/omen/maven")

Ammonite REPL

import $ivy.`com.github.dmrolfs::shapeless-builder:1.0.0`
import ammonite._, Resolvers._
val res = Resolver.Http(
  "Bintray omen maven",
  "Some(https://dl.bintray.com/omen/maven)",
  IvyPattern,
  false)
interp.resolvers() = interp.resolvers() :+ res

<dependency>
  <groupId>com.github.dmrolfs</groupId>
  <artifactId>shapeless-builder_2.11</artifactId>
  <version>1.0.0</version>
</dependency>

compile group: 'com.github.dmrolfs', name: 'shapeless-builder_2.11', version: '1.0.0'