我正在尝试使用Gradle的Scala插件在Ubuntu VM上构建我的项目.这是我的build.gradle文件的样子:
apply plugin: 'scala'
repositories {
mavenCentral()
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.8'
}
Run Code Online (Sandbox Code Playgroud)
当我从命令行运行gradle build时,出现以下错误:
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'.
Run Code Online (Sandbox Code Playgroud)
我一直在寻找指定这个zincClasspath属性的位置,但找不到任何东西.
我试图强制使用锌类路径来使用较旧版本的scala库,但它似乎不起作用.
任何帮助深表感谢
编辑:
有一点需要补充一点,这个确切的项目在我的本地Windows机器上构建得很好,但在我的Ubuntu VM上却没有.