When ./gradlew ide is ran, the addAllProjects() call causes the following exception to be thrown:
Could not find method annotationProcessor() for arguments [project ':sub-project'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Does anyone know if there's a way to fix this? The Gradle version my project is using is 7.4.
One of the sub-projects in my Gradle setup is an annotation processor. The other projects depend on the annotation processor like this:
I added the following to the root Gradle project:
When
./gradlew ide
is ran, theaddAllProjects()
call causes the following exception to be thrown:Does anyone know if there's a way to fix this? The Gradle version my project is using is 7.4.