I do not want to upgrade jetpack compose from RC to Alpha

77 views Asked by At

... but also I do not have to see that lint warning. It suggest to upgrade from 1.3 RC to 1.4 Alpha.

What would you suggest to do?

1

There are 1 answers

0
Vojin Purić On

To disable the warning for a specific dependency, you can use the noinspection annotation just above the line that causes the warning. Like this:

//noinspection GradleDependency
implementation 'compose.....'

You can also check how to disable linting for whole gradle files or scopes