Scala 3 cross compatible akka-actor / akka-testkit / akka-actor-tests (#29956)
* Remove @switch when it doesn't take effect * Use ActorRef.noSender * Minor tweaks to SchedulerSpec * Disambiguate TypedActor for Scala 3 * Bump ScalaTest to a version compatible with Scala 3 * Bump ScalaCheck * Disambiguate Event in SupervisorHierarchySpec * Scala 3 compatible EventBusSpec * Prevent private unused variables to be erased by Scala 3 * Bump mockito * Explicit actorRef2Scala import * restore original .scalafix.conf * Scala 3 compatible tailrec * Reminder to re add switch annotation in case * Move to nowarn instead of silencer * Bump to Scala 2.12.13 * Cross compatible annotations * fix docs generation * adapt the build for Scala 3 * fix errors but bus * remove more SerialVersion from trait * scalacheck only from scalatest * cross-compile akka-actor-tests * restore cross-compilation * early initializers workaround * scalacheck switch * cross compatible FSM.State class * cross compatible LARS spec * Change results to pass LineNumberSpec * fix stackoverflow in AsyncDnsResolverIntegrationSpec * FSM.State unapply * fix Scala 2.13 mima * SerialVersionRemover compiler plugin * removed unused nowarns
This commit is contained in:
parent
0f27ed6189
commit
da70e0ccd4
370 changed files with 4058 additions and 1373 deletions
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
package akka
|
||||
|
||||
import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport.{HeaderFileType, headerMappings, headerSources}
|
||||
import de.heikoseeberger.sbtheader.HeaderPlugin.autoImport.{ headerMappings, headerSources, HeaderFileType }
|
||||
import sbt.Keys.baseDirectory
|
||||
import sbt.{Compile, Def, PluginTrigger, Test, inConfig, _}
|
||||
import sbt.{ Compile, Def, PluginTrigger, Test, inConfig, _ }
|
||||
|
||||
object CopyrightHeaderForBuild extends CopyrightHeader {
|
||||
override def trigger: PluginTrigger = noTrigger
|
||||
|
|
@ -16,10 +16,7 @@ object CopyrightHeaderForBuild extends CopyrightHeader {
|
|||
inConfig(config) {
|
||||
Seq(
|
||||
headerSources in config ++= (((baseDirectory in config).value / "project") ** "*.scala").get,
|
||||
headerMappings := headerMappings.value ++ Map(
|
||||
HeaderFileType.scala -> cStyleComment
|
||||
)
|
||||
)
|
||||
headerMappings := headerMappings.value ++ Map(HeaderFileType.scala -> cStyleComment))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue