File tree Expand file tree Collapse file tree
plugin/src/main/scala/com/github/sbt Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11lazy val scala212 = " 2.12.18"
2- lazy val scala3 = " 3.6.4 "
2+ lazy val scala3 = " 3.7.2 "
33ThisBuild / scalaVersion := scala212
44ThisBuild / crossScalaVersions := Seq (scala212, scala3)
55
@@ -23,7 +23,7 @@ lazy val plugin = project
2323 (pluginCrossBuild / sbtVersion) := {
2424 scalaBinaryVersion.value match {
2525 case " 2.12" => " 1.9.0"
26- case _ => " 2.0.0-M4 "
26+ case _ => " 2.0.0-RC3 "
2727 }
2828 },
2929 scalacOptions ++= {
Original file line number Diff line number Diff line change @@ -33,11 +33,15 @@ object AutomateJavaFormatterPlugin extends AutoPlugin {
3333object JavaFormatterPlugin extends AutoPlugin {
3434
3535 object autoImport {
36+ @ transient
3637 val javafmt : TaskKey [Unit ] = taskKey(" Format Java sources" )
38+ @ transient
3739 val javafmtCheck : TaskKey [Boolean ] = taskKey(" Fail, if a Java source needs reformatting." )
40+ @ transient
3841 val javafmtAll : TaskKey [Unit ] = taskKey(
3942 " Execute the javafmt task for all configurations in which it is enabled. " +
4043 " (By default this means the Compile and Test configurations.)" )
44+ @ transient
4145 val javafmtCheckAll : TaskKey [Unit ] = taskKey(
4246 " Execute the javafmtCheck task for all configurations in which it is enabled. " +
4347 " (By default this means the Compile and Test configurations.)" )
@@ -106,6 +110,7 @@ object JavaFormatterPlugin extends AutoPlugin {
106110 def notToBeScopedSettings : Seq [Setting [? ]] =
107111 List (javafmt / includeFilter := " *.java" )
108112
113+ @ transient
109114 private val javafmtDoFormatOnCompile =
110115 taskKey[Unit ](" Format Java source files if javafmtOnCompile is on." )
111116
Original file line number Diff line number Diff line change 1- sbt.version =1.11.1
1+ sbt.version =1.11.5
You can’t perform that action at this time.
0 commit comments