mirror of https://github.com/sbt/sbt.git
Merge pull request #7780 from xuwei-k/codecPackage-state
[2.x] add `@codecPackage` annotation to `state.contra`
This commit is contained in:
commit
4f65bb5739
|
|
@ -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] {
|
||||||
|
|
@ -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] {
|
||||||
|
|
@ -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 {
|
||||||
|
|
@ -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] {
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package sbt
|
package sbt
|
||||||
@target(Scala)
|
@target(Scala)
|
||||||
|
@codecPackage("sbt.internal")
|
||||||
|
|
||||||
type Exec {
|
type Exec {
|
||||||
commandLine: String!
|
commandLine: String!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue