Hi,
I am trying to migrate to java12 for a while now and I am a bit stuck. For those who would try this, here’s what I’ve done so far :
- Play sbt-plugin 2.7.2 (I tried on 2.7.0 and 2.7.1 as well)
- Upgrade to a nightly version of scala (that allow to use the new --release flag on javac). More infos here https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html#jdk-12-compatibility-notes. I’m on 2.12.9-bin-ae27fe9
- Upgrade SBT to a recent build. I tried 1.3.0-M3.
- Run on OpenJDK 12
My build fails on errors like this:
object html is not a member of package..
Apparently, my twirl templates are missing from the classpath.
After that, I downgraded java to 10 (which I use in production), I get the same error. The play sbt-plugin might have a problem with the future release of SBT.
I tried to make it work with my current version of SBT of course (1.2.8) but it has an other problem with java12
Did anyone try this?