# spray-json for Scala 2.13 and 3; see scala-build(5). Options follow
# build.sbt. debian/generated holds ProductFormatsInstances.scala, which
# debian/rules expands from src/main/boilerplate (sbt-boilerplate upstream).
# Upstream tests need specs2, not in Debian; debian/tests covers the API.

Artifact: spray-json
Group: io.spray
Scala-Version: 2.13
Package: libspray-json-scala2.13-java
Jar-Name: spray-json-2.13
Sources:
 src/main/scala
 debian/generated
Scalac-Options: -feature -language:_ -unchecked -deprecation -Xlint -encoding utf8

Artifact: spray-json
Group: io.spray
Scala-Version: 3
Package: libspray-json-scala3-java
Jar-Name: spray-json-3
Sources:
 src/main/scala
 debian/generated
# Scala 3.9 rejects -language:_ (3.1.0 accepted it); without it there are
# only feature warnings. -Xlint is a Scala 2 option; Scala 3 has no
# equivalent of the same name.
Scalac-Options: -feature -unchecked -deprecation -encoding utf8
