build-logic with convention plugin and global Gradle task problem

33 Views Asked by At

I migrated my project from buildSrc to build-logic with conversion plugins. All plugins work good but I also have a Gradle task that downloads localizations from 3rd party service and stores its to the res/values folder from different modules. The problem is that this task is registered in the root of the project (room build.gradle.kts) but its class is not visible from the build-logic directory. I tried to move it to different places but it did not help. How can I make it visible or register it as a conversion plugin but for the root project, not submodules?

Update: build-logic is a folder that defines project-specific convention plugins. As an example I use the nowinandroid app https://github.com/android/nowinandroid/tree/main/build-logic

0

There are 0 best solutions below