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
Is your feature request related to a problem? Please describe.
The plugin doesn't support "ProviderConvertible". To be honest, my Gradle understanding is very limited and I'm not sure what are "ProviderConvertible" and how they differ from other dependency. If I put this in my Gradle file:
> Could not find method exclude() for arguments [org.gradle.accessors.dm.LibrariesForLibs$ComposeMaterialIconsLibraryAccessors@5c86a80d] on object of type com.autonomousapps.extension.Issue.
By the way, this is what ComposeMaterialIconsLibraryAccessors looks like:
public static class ComposeMaterialIconsLibraryAccessors extends SubDependencyFactory implements DependencyNotationSupplier {
public ComposeMaterialIconsLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); }
/**
* Dependency provider for <b>icons</b> with <b>androidx.compose.material:material-icons-core</b> coordinates and
* with <b>no version specified</b>
* <p>
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> asProvider() {
return create("compose.material.icons");
}
/**
* Dependency provider for <b>extended</b> with <b>androidx.compose.material:material-icons-extended</b> coordinates and
* with <b>no version specified</b>
* <p>
* This dependency was declared in catalog libs.versions.toml
*/
public Provider<MinimalExternalModuleDependency> getExtended() {
return create("compose.material.icons.extended");
}
}
ComposeMaterialIconsLibraryAccessors extends DependencyNotationSupplier, which in turn extends ProviderConvertible
I'm raising this feature request because it would be great if we could put directly exclude(libs.compose.material.icons). Should be easy to just modify Issue.kt to also support ProviderConvertible, which has function asProvider().
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The plugin doesn't support "ProviderConvertible". To be honest, my Gradle understanding is very limited and I'm not sure what are "ProviderConvertible" and how they differ from other dependency. If I put this in my Gradle file:
It fails with the error:
This fixes the issue:
By the way, this is what
ComposeMaterialIconsLibraryAccessors
looks like:ComposeMaterialIconsLibraryAccessors
extendsDependencyNotationSupplier
, which in turn extendsProviderConvertible
I'm raising this feature request because it would be great if we could put directly
exclude(libs.compose.material.icons)
. Should be easy to just modifyIssue.kt
to also supportProviderConvertible
, which has functionasProvider()
.The text was updated successfully, but these errors were encountered: