6502-opcodes/project/Scala3Plugin.scala
2023-09-02 21:07:44 -04:00

22 lines
522 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.3.1-RC7"
)
override val projectSettings: Seq[Setting[_]] = Seq(
scalacOptions ++= Seq("-indent", "-rewrite")
)
}