79535018

Date: 2025-03-25 22:53:54
Score: 2
Natty:
Report link

Have you checked the results of "grails dependency-report command" ?

You have to know which lib is adding this transitive library and then excluding it with the exclude closure.

For example, for a Grails 2.5.5 project, I want to use the itext 2.1.7 and the plugin rendering is using an older version. So, I did this:

dependencies {
       runtime 'com.lowagie:itext:2.1.7'
}

plugins {
        compile (":rendering:1.0.0") {
            excludes 'itext'
        }
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jordi Romero