I am trying to use the Scala plugin with Gradle to create my project in an Ubuntu virtual machine. This is my build.gradle file as follows:
apply plugin: 'scala'
repositories {
mavenCentral()
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.8'
}
when I run gradle build from the command line, I get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':compileScala'.
> No value has been specified for property 'zincClasspath'.
I looked around where to specify this zincClasspath property, but I can not find anything.
I tried to get zincClasspath to use an older version of the Scala library, but it does not work.
Any help is much appreciated
Edit:
One thing to add, this exact project works fine on my local Windows machine, but not on my Ubuntu virtual machine ....