Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ant based Scala compiler is deprecated

Tags:

gradle

scala

Running Gradle build shows warnings and i dont know how to change the scala compiler so that it is not ant based.

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.

The links in the warnings don't help.

like image 201
J0B Avatar asked May 03 '26 14:05

J0B


1 Answers

Using a recent version of the plugin won't show these warnings.

like image 166
Martijn Avatar answered May 06 '26 02:05

Martijn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!