groovy-android-gradle-plugin icon indicating copy to clipboard operation
groovy-android-gradle-plugin copied to clipboard

Plugin incompatible with Gradle 8.0

Open dariuszseweryn opened this issue 2 years ago • 1 comments

What kind of issue is this?

  • [ ] Question. This issue tracker is not the place for questions. If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow with the android-groovy tag.

  • [ ] Bug report. If you’ve found a bug, spend the time to write a failing test. Bugs with tests get fixed. See here for some example tests.

  • [x] Feature Request. Start by telling us what problem you’re trying to solve. Often a solution already exists! Don’t send pull requests to implement new features without first getting our support. Sometimes we leave features out on purpose to keep the project small.

Hello, I recently updated my project to Gradle 7 and found out I still get deprecation warnings. After running my build with --warning-mode all I have seen:

The AbstractCompile.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the destinationDirectory property instead. Consult the upgrading guide for further information: https://docs.gradle.org/7.3.3/userguide/upgrading_version_7.html#compile_task_wiring

Which may be caused by usage of destinationDir in groovy-android-gradle-plugin. Apparently Gradle has deprecated destinationDir in compile task.

The feature request would be to make the plugin use Gradle 7 for build and being compatible with Gradle 8.

dariuszseweryn avatar Jun 28 '22 21:06 dariuszseweryn

邮件我已经收到

kuiper-lee avatar Jun 28 '22 21:06 kuiper-lee