Gradle Scala Plugin - how to specify zincClasspath

前端 未结 2 1195
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 14:27

I am trying to use the Scala plugin with Gradle to build my project on an Ubuntu VM. This is what my build.gradle file looks like:

apply plugin: \'scala\'
re         


        
2条回答
  •  感动是毒
    2021-01-18 15:24

    I ran into this issue again recently, adding the following to my Gradle build script seemed to fix it:

    ScalaCompileOptions.metaClass.daemonServer = true
    ScalaCompileOptions.metaClass.fork = true
    ScalaCompileOptions.metaClass.useAnt = false
    ScalaCompileOptions.metaClass.useCompileDaemon = false
    

提交回复
热议问题