scala.build.options.ReplOptions.scala Maven / Gradle / Ivy
package scala.build.options
import scala.build.internal.Constants
final case class ReplOptions(
useAmmoniteOpt: Option[Boolean] = None,
ammoniteVersionOpt: Option[String] = None,
ammoniteArgs: Seq[String] = Nil
) {
def useAmmonite: Boolean =
useAmmoniteOpt.getOrElse(false)
def ammoniteVersion: String =
ammoniteVersionOpt.getOrElse(Constants.ammoniteVersion)
}
object ReplOptions {
implicit val monoid: ConfigMonoid[ReplOptions] = ConfigMonoid.derive
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy