dependencies {
// 1. Bypass the resolution engine entirely by grabbing the raw cached jar file directly
compileOnly files(configurations.detachedConfiguration(
dependencies.create('org.springframework:spring-beans:4.3.26.RELEASE')
).getFiles())
// 2. These namespaces don't trigger the 'org.springframework' filters, so they can be declared normally
compileOnly('jakarta.jws:jakarta.jws-api:3.0.0') { transitive = false }
compileOnly('javax.xml.ws:jaxws-api:2.3.1') { transitive = false }
// Your standard business dependencies remain completely untouched below:
implementation platform(group: 'com.citi.157514.comet', name: 'comet-bom', version: '9.4.0e_b1') {
exclude group: 'org.mockito'
exclude group: 'org.junit.jupiter'
exclude group: 'junit'
}
implementation(group: 'com.citi.156783.comet', name: 'CC_CPLSFW', version: '9.4.0e_b8')
implementation(group: 'com.citi.158825', name: 'emmaserver', version: '2.0_D0')
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)