Alright, so that would make it easier indeed given that it would render state invalid.
What you would need to do, is change your application so that it doesn't use the Scala APIs, but the Flink Java APIs. So it's a bit more work then just swapping out the dependencies, but overall it should be minor.
You could also consider testing
https://github.com/flink-extended/flink-scala-api which should make your life easier if you're building things in Scala