Skip to content

Support for multimodule projects #13

@njuro

Description

@njuro

Hey guys, thank you very much for this project, this is exactly something I was looking for.

Would it be possible to add support for multimodule (Gradle) project? I have several modules and when I register the factories and run the build task for the root project, it will fail with:

  Caused by: java.lang.IllegalStateException: Could not register object [ContextDiagnostic[contextLoadStartTime=1754319348764, contextLoadEndTime=1754319358371, contextLoadComplete=true, heapMemoryUsedBytes=52132304, nonHeapMemoryUsedBytes=53504872, availableProcessors=14, totalMemoryBytes=73400320, maxMemoryBytes=805306368, freeMemoryBytes=20757200]] under bean name 'contextDiagnostic': there is already object [ContextDiagnostic[contextLoadStartTime=1754319348764, contextLoadEndTime=1754319358371, contextLoadComplete=true, heapMemoryUsedBytes=52132304, nonHeapMemoryUsedBytes=53504872, availableProcessors=14, totalMemoryBytes=73400320, maxMemoryBytes=805306368, freeMemoryBytes=20757200]] bound

No idea how easy/complicated this would be. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions