I am working quite newly with Gradle and came upon the compilation error:
The LenientConfiguration.getArtifacts(Spec) method has been
deprecated. This is scheduled to be removed in Gradle 9.0. Use a
lenient ArtifactView with a componentFilter instead
As a solution the web link here is given. It seems to cover my problem, but I don’t understand how to fix it. I tried just copying the given code into my build.gradle but that doesn’t help the error.
If you need any more details (code snippets etc.) let me know – thanks.