I have a project that uses custom Lint rules and New Relic (5.28.0). The app module has the following line in its dependencies block:
lintChecks project(':checks')
When I try to sync the project with Gradle, I get the following error:
A problem occurred evaluating project ':checks'.
> Failed to apply plugin [id 'kotlin']
> Gradle#projectsEvaluated(Action) on build 'android-studio-4' cannot be executed in the current context.
The problem disappears when I remove custom lint rules or the New Relic plugin.
I reproduced the problem by forking the official Custom Lint Rules repository and adding New Relic to it:
Please, fix this so I can use custom lint checks again.