You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using excludes in too many locations. excludes, with a few exceptions, should not be necessary. If it is ever used, they should be very specific. For instance, if there is just 2 modules that have a specific dependency that needs to be excluded, the exclusion should only apply to those 2 modules.
Dependencies should not be transitive unless they are needed 100% of the time by the final application.
For instance, if a project uses ehcache, but it is optional and only turned on/off via a configuration option, it should not be transitive.
identify plugins that use @AstTransformer and determine what imports are required for successful compilation.
Use compileOnlyAPI, but only if that dependency is not already transitively resolved compileOnlyAPI by a dependency on an another plugin that it depends on.
Identify all exclusions across the code base and determine why they are needed and what is necessary for their removal.
Use the grails bom when able. Do not specify dependency versions in a plugin unless they are specific to that plugin.
Cleanup in dependency resolution.
We are using excludes in too many locations. excludes, with a few exceptions, should not be necessary. If it is ever used, they should be very specific. For instance, if there is just 2 modules that have a specific dependency that needs to be excluded, the exclusion should only apply to those 2 modules.
Dependencies should not be transitive unless they are needed 100% of the time by the final application.
For instance, if a project uses ehcache, but it is optional and only turned on/off via a configuration option, it should not be transitive.
https://docs.gradle.org/current/userguide/java_library_plugin.html
The text was updated successfully, but these errors were encountered: