I have a project that used SBT
before, I'm trying to compile it using gradle
with scala plugin, but have got an exception as below:
[ant:scalac] scala.reflect.internal.MissingRequirementError: object java.lang.Object in compiler mirror not found.
According to internet it's an issue with scala/zinc version incompatibility. This project has scala 2.11 dependencies (and been built with scala library 2.11 before), so I've tried to add explicitly proper scala and zinc versions to dependencies (in various combinations), but results are the same.
dependencies {
zinc 'com.typesafe.zinc:zinc:0.3.9'
compile 'org.scala-lang:scala-library:2.11.6'
Any suggestions?