不推荐使用基于Ant的Scala编译器

J0B*_*J0B 9 scala gradle

运行Gradle build显示警告,我不知道如何更改scala编译器,以便它不是基于ant的.

有谁知道如何阻止这些警告?

useAnt has been deprecated and is scheduled to be removed in Gradle 3.0. The Ant-Based Scala compiler is deprecated, please see https://docs.gradle.org/current/userguide/scala_plugin.html.
fork has been deprecated and is scheduled to be removed in Gradle 3.0. The fork option for the scala compiler is deprecated, please see https://docs.gradle.org/current/userguide/scala_plugin.html.
Run Code Online (Sandbox Code Playgroud)

警告中的链接没有帮助.

Mar*_*ijn 1

使用最新版本的插件不会显示这些警告。