I’m trying to use the extended icon library for Material Design and Kotlin. I’ve added
<code>material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }
</code>
<code>material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }
</code>
material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }
to my libs.versions.toml
file under [libraries]
and I’ve added
<code>implementation(libs.material.icons.extended)
</code>
<code>implementation(libs.material.icons.extended)
</code>
implementation(libs.material.icons.extended)
to my build.gradle.kts
file. When I compile, I get:
<code>Execution failed for task ':composeApp:compileKotlinDesktop'.
> Could not resolve all files for configuration ':composeApp:desktopCompileClasspath'.
> Could not find androidx.compose.material:material-icons-extended:.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
</code>
<code>Execution failed for task ':composeApp:compileKotlinDesktop'.
> Could not resolve all files for configuration ':composeApp:desktopCompileClasspath'.
> Could not find androidx.compose.material:material-icons-extended:.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
</code>
Execution failed for task ':composeApp:compileKotlinDesktop'.
> Could not resolve all files for configuration ':composeApp:desktopCompileClasspath'.
> Could not find androidx.compose.material:material-icons-extended:.
Required by:
project :composeApp
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
What am I doing wrong?