Commit c342a62
committed
build(gradle): replace SelfResolvingDependency by ExternalModuleDependency
`SelfResolvingDependency` was removed in Gradle 9. The original POM
filter in `publish.gradle` excluded file-based dependencies by negating
instanceof `SelfResolvingDependency`, which `FileCollectionDependency`
implemented in Gradle 8.
This change replaces it with a positive check for `ProjectDependency`
and `ExternalModuleDependency`, which are the two types that actually
have Maven coordinates and belong in a published POM.1 parent 10e03bd commit c342a62
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments