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

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

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

final case class SuppressWarningOptions(
  suppressDirectivesInMultipleFilesWarning: Option[Boolean] = None,
  suppressOutdatedDependencyWarning: Option[Boolean] = None,
  suppressExperimentalFeatureWarning: Option[Boolean] = None
)

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

  val suppressAll = SuppressWarningOptions(
    suppressDirectivesInMultipleFilesWarning = Some(true),
    suppressOutdatedDependencyWarning = Some(true),
    suppressExperimentalFeatureWarning = Some(true)
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy