Expected Behavior
Main app: A (Depends on B)
Plugin: B (Depends on C)
Plugin: C
Suppose, if we have some services or files or dependencies in Plugin C, then we can easily access any file or dependency file of Plugin C from Main App A (Reason: Main App depends on plugin B and plugin B depends on plugin C).
This is working fine for Grails 3.1.6 and Grails 3.3. So, must be working for Grails 5.1.7 too.
Actual Behaviour We are working on a Grails upgrade from 3.1.6 to 5.1.7. In Grails 3.1.6, we are using multiple plugins and interdependent plugins and dependencies. But following the same process is not working for Grails 5.1.7.
For Grails 5.1.7, we are not able to access the file of Plugin C from Main App A implementing a similar approach as of Grails 3.1.6.
Environment Information
- macOS Monterey : openjdk zulu version "1.8.0_332-b09"
- Windows 10 : openjdk version "1.8.0_181"
Example Application: https://github.com/sghatuwa/grails3vsgrails5
Issue Version: 5.1.7
Create your project as a multi project Gradle build as per the Gradle docs
I made a few changes to your 5.1.7 project which is now building.