Avatar ·

Safe Args library does not generate Directions class after Gradle update

Hello everyone! I'm a beginner in Kotlin and Android development, and I've encountered a very strange problem. I'm using Navigation Component with Safe Args to pass data between fragments. Until recently, everything worked perfectly, but after I updated Gradle and plugins (from version 7.x to 8.x), the Safe Args library stopped generating Directions classes. I have a nav_graph.xml with two fragments: FirstFragment and SecondFragment. There is an action defined between them with a userId argument. Previously, I could use FirstFragmentDirections.actionFirstToSecond(userId), but now the compiler says it cannot find the FirstFragmentDirections class. Meanwhile, the Args classes (e.g., SecondFragmentArgs) are generated normally, but Directions are not. Here is my build.gradle (app-level): ``` plugins { id("com