We have several services implemented with Lagom 1.3.10 and we will start migrating them to Lagom 1.4
Services are implemented in Java and we use sbt for builds.
We would like to upgrade services as we go and not all at once.
Lets say that service_B depends/calls on service_A. Lets say we want to upgrade service_A first to Lagom 1.4 while service_B stays on Lagom 1.3.
My question is regarding scala versions / sbt cross-compile.
Should we cross compile the service_A for Scala 2.11 and 2.12 using sbt crossScalaVersions as described here: https://www.scala-sbt.org/1.0/docs/Cross-Build.html
Then we can continue development of service_B using scala 2.11 until we upgrade service_B to Lagom 1.4 and Scala 2.12
Or should we just compile service_A for Lagom 1.4 and Scala 2.12? Can we use the service_A_api-2.12.jar as a dependency for service_B which is still compiled to Lagom 1.3 and Scala 2.11?
In the upgrade notes I couldn’t find any guidelines regarding scala version.