I’m new to gradle, and trying to get a basic script working with scala. As the title says, I have configured the scala library as a compile-time dependency, however “gradle compileScala” fails saying that it cannot infer the scala class path because “no Scala library Jar was found”. I’m using ivy, and I see that I’m able to compile Java code which depends on other lib dependencies (i.e., using “gradle compileJava”). In fact, I can modify my java code to refer to scala classes (such as Option), and this builds fine in Java. So something appears broken in compiler inference.
Any ideas? Also, is there any workaround which allows me to explicitly configure the scala compiler?