0
votes

I have a huge java multimodule application which uses gradle to manage build and dependencies. In one of the modules let's say module1 the project is using gretty plugin

  • module1/build.gradle
plugins{
id 'org.gretty'
}

gretty is having a transitive dependency on ch.qos.logback:logback-classic:1.1.3

I want to bump the logback version to the latest. For that I have tried below solutions

dependencies{

// 1 try

implementation 'ch.qos.logback:logback-classic:1.2.6'

// 2nd try

implementation ('ch.qos.logback:logback-classic:1.2.6'){

force = true

}

// 3rd try

constraints { implementation ('ch.qos.logback:logback-classic:1.2.6'){ because 'some xyz reason' } }

}

But none of this is having any impact on logback version. Need some suggestion now