Skip to content

Commit

Permalink
Fix building material icons (#695)
Browse files Browse the repository at this point in the history
Stacktrace:
```
* What went wrong:
Execution failed for task ':compose:material:material-icons-extended:generateMetadataFileForUikitArm64Publication'.
> java.io.FileNotFoundException: /opt/buildAgent/work/5b4bef35b35b9f12/out/androidx/compose/material/material-icons-extended/build/classes/kotlin/uikitArm64/main/klib/material-icons-extended.klib (No such file or directory)
```

See https://teamcity.jetbrains.com/buildConfiguration/JetBrainsPublicProjects_Compose_Publish_2_All_2/4235476?hideProblemsFromDependencies=false&hideTestsFromDependencies=false&expandBuildChangesSection=true&expandBuildTestsSection=true&expandBuildProblemsSection=true
  • Loading branch information
igordmn authored Jul 19, 2023
1 parent 39c9d26 commit 0fdc2a1
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,12 @@ abstract class IconGenerationTask : DefaultTask() {
* bitmap comparison test for every icon in both the core and extended project.
*/
@JvmStatic
@Suppress("UNUSED_PARAMETER")
fun registerExtendedIconThemeProject(
project: Project,
libraryExtension: LibraryExtension
) {
libraryExtension.libraryVariants.all { variant ->
ExtendedIconGenerationTask.register(project, variant)
}
ExtendedIconGenerationTask.register(project, null)

// b/175401659 - disable lint as it takes a long time, and most errors should
// be caught by lint on material-icons-core anyway
Expand Down

0 comments on commit 0fdc2a1

Please sign in to comment.