6502-opcodes/project/Scala3Plugin.scala
Mark Canlas d0000c3ef1 scala3
2022-04-24 22:52:33 -04:00

19 lines
459 B
Scala

import sbt.Keys._
import sbt._
/**
* Automatically enriches projects with the following settings (despite the word "override").
*/
object Scala3Plugin extends AutoPlugin {
/**
* Thus plug-in will automatically be enabled; it has no requirements.
*/
override def trigger: PluginTrigger = AllRequirements
override val buildSettings: Seq[Setting[_]] = Seq(
scalaVersion := "3.1.2",
scalacOptions ++= Seq("-indent", "-rewrite")
)
}