Gradle 升级到5.x 报Gradle DSL method
2019-05-23 本文已影响0人
FlatMap2021
今天AS 做了升级操作,quality.gragle报了Gradle DSL method not found: 'destination()'的错误,
经过查资料得知:在Gradle 5.x后,必须使用setDestination(File file)这种来设置,所以有同样问题的可以参考一下 ,加上file就可以了

今天AS 做了升级操作,quality.gragle报了Gradle DSL method not found: 'destination()'的错误,
经过查资料得知:在Gradle 5.x后,必须使用setDestination(File file)这种来设置,所以有同样问题的可以参考一下 ,加上file就可以了