我想使用Scala的插件與搖籃建立我的Ubuntu VM項目。這就是我的build.gradle文件看起來像:搖籃斯卡拉插件 - 如何指定zincClasspath
apply plugin: 'scala'
repositories {
mavenCentral()
}
dependencies {
compile 'org.scala-lang:scala-library:2.11.8'
}
,當我在命令行中運行的gradle 構建,我得到以下錯誤:
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'.
我已經看了看周圍的在哪裏指定這個zincClasspath屬性,但找不到任何東西。
我試圖迫使zincClasspath使用Scala庫的舊版本,但它似乎並沒有工作。
任何幫助深表感謝
編輯:
有一點要補充,這個確切的項目建立在我的本地Windows機器上很好,但不是在我的Ubuntu VM ....