You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... but for example exclude(dependency(libs.log4j.api)) raises an error: org.gradle.internal.typeconversion.UnsupportedNotationException: Cannot convert the provided notation to an object of type Dependency: map(valueof(DependencyValueSource)).
According to the libs-documentation (first link above), the call of libs.log4j.api should perform as if it was the plain string-dependency, but obviously, it doesn't.
Any ideas on this? Thanks!
The text was updated successfully, but these errors were encountered:
Shadow Version
8.1.1
Gradle Version
8.6
Expected Behavior
I'm using gradle/libs to share dependencies in my multi-project-build (see https://docs.gradle.org/current/userguide/platforms.html).
I'd like to exclude some dependencies for some sub-projects (see https://imperceptiblethoughts.com/shadow/configuration/dependencies/#filtering-dependencies)...
Actual Behavior
... but for example
exclude(dependency(libs.log4j.api))
raises an error:org.gradle.internal.typeconversion.UnsupportedNotationException: Cannot convert the provided notation to an object of type Dependency: map(valueof(DependencyValueSource)).
According to the libs-documentation (first link above), the call of
libs.log4j.api
should perform as if it was the plain string-dependency, but obviously, it doesn't.Any ideas on this? Thanks!
The text was updated successfully, but these errors were encountered: