All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.build.options.InternalDependenciesOptions.scala Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package scala.build.options

final case class InternalDependenciesOptions(
  addStubsDependencyOpt: Option[Boolean] = None,
  addRunnerDependencyOpt: Option[Boolean] = None,
  addTestRunnerDependencyOpt: Option[Boolean] = None
) {
  def addStubsDependency: Boolean =
    addStubsDependencyOpt.getOrElse(true)
  def addTestRunnerDependency: Boolean =
    addTestRunnerDependencyOpt.getOrElse(false)
}

object InternalDependenciesOptions {
  implicit val hasHashData: HasHashData[InternalDependenciesOptions] = HasHashData.derive
  implicit val monoid: ConfigMonoid[InternalDependenciesOptions]     = ConfigMonoid.derive
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy