Merge pull request #7780 from xuwei-k/codecPackage-state

[2.x] add `@codecPackage` annotation to `state.contra`
This commit is contained in:
eugene yokota 2024-10-19 00:20:46 -04:00 committed by GitHub
commit 4f65bb5739
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 6 additions and 1 deletions

View File

@ -3,6 +3,7 @@
*/ */
// DO NOT EDIT MANUALLY // DO NOT EDIT MANUALLY
package sbt.internal
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError } import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait CommandSourceFormats { self: sjsonnew.BasicJsonProtocol => trait CommandSourceFormats { self: sjsonnew.BasicJsonProtocol =>
implicit lazy val CommandSourceFormat: JsonFormat[sbt.CommandSource] = new JsonFormat[sbt.CommandSource] { implicit lazy val CommandSourceFormat: JsonFormat[sbt.CommandSource] = new JsonFormat[sbt.CommandSource] {

View File

@ -3,6 +3,7 @@
*/ */
// DO NOT EDIT MANUALLY // DO NOT EDIT MANUALLY
package sbt.internal
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError } import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait ConnectionTypeFormats { self: sjsonnew.BasicJsonProtocol => trait ConnectionTypeFormats { self: sjsonnew.BasicJsonProtocol =>
implicit lazy val ConnectionTypeFormat: JsonFormat[sbt.ConnectionType] = new JsonFormat[sbt.ConnectionType] { implicit lazy val ConnectionTypeFormat: JsonFormat[sbt.ConnectionType] = new JsonFormat[sbt.ConnectionType] {

View File

@ -3,8 +3,9 @@
*/ */
// DO NOT EDIT MANUALLY // DO NOT EDIT MANUALLY
package sbt.internal
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError } import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait ExecFormats { self: CommandSourceFormats with sjsonnew.BasicJsonProtocol => trait ExecFormats { self: sbt.internal.CommandSourceFormats with sjsonnew.BasicJsonProtocol =>
implicit lazy val ExecFormat: JsonFormat[sbt.Exec] = new JsonFormat[sbt.Exec] { implicit lazy val ExecFormat: JsonFormat[sbt.Exec] = new JsonFormat[sbt.Exec] {
override def read[J](__jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.Exec = { override def read[J](__jsOpt: Option[J], unbuilder: Unbuilder[J]): sbt.Exec = {
__jsOpt match { __jsOpt match {

View File

@ -3,6 +3,7 @@
*/ */
// DO NOT EDIT MANUALLY // DO NOT EDIT MANUALLY
package sbt.internal
import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError } import _root_.sjsonnew.{ Unbuilder, Builder, JsonFormat, deserializationError }
trait ServerAuthenticationFormats { self: sjsonnew.BasicJsonProtocol => trait ServerAuthenticationFormats { self: sjsonnew.BasicJsonProtocol =>
implicit lazy val ServerAuthenticationFormat: JsonFormat[sbt.ServerAuthentication] = new JsonFormat[sbt.ServerAuthentication] { implicit lazy val ServerAuthenticationFormat: JsonFormat[sbt.ServerAuthentication] = new JsonFormat[sbt.ServerAuthentication] {

View File

@ -1,5 +1,6 @@
package sbt package sbt
@target(Scala) @target(Scala)
@codecPackage("sbt.internal")
type Exec { type Exec {
commandLine: String! commandLine: String!