Scala based Ant compiler deprecated

Running Gradle build shows warnings, and I don't know how to change the scala compiler so that it is not based on ant.

Does anyone know how to stop these warnings?

 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. 

Links in warnings do not help.

+7
scala gradle
source share

No one has answered this question yet.

See related questions:

369
How to manually enable an external aar package using the new Gradle Android Build system
14
Deprecation Warnings
5
ProjectLayout.directoryProperty () method deprecated
4
Show Ant Scala compiler error using Gradle
one
Does the problem fix 4.3 in game 2.6.6 and scala 2.12?
one
How to convert Gradle Ant Java task to Kotlin
one
Replacing obsolete fishing LoggingManager.setLevel () for Checkstyle
0
Gradle Scala Zinc Compiler Performance Issues
0
How to call Gradle task execution from an external task?
0
gradle kotlin dsl scala & idea

All Articles