6502-opcodes/project/ProjectPlugin.scala
2020-08-12 21:10:19 -04:00

19 lines
400 B
Scala

import sbt.Keys._
import sbt._
object ProjectPlugin extends AutoPlugin {
override def trigger = allRequirements
override lazy val projectSettings = Seq(
scalaVersion := "2.13.3"
)
object autoImport {
implicit class ProjectOps(p: Project) {
def withCats: Project =
p
.settings(libraryDependencies += "org.typelevel" %% "cats-core" % "2.2.0-RC2")
}
}
}