configurations {
// Define an isolated configuration that won't be modified by resolution strategies
migrationBridge
}
dependencies {
// Put the raw legacy jars here completely isolated from the BOM
migrationBridge('org.springframework:spring-beans:4.3.26.RELEASE') { transitive = false }
migrationBridge('jakarta.jws:jakarta.jws-api:3.0.0') { transitive = false }
migrationBridge('javax.xml.ws:jaxws-api:2.3.1') { transitive = false }
// Keep your standard dependencies here as they were...
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')
}
compileJava {
options.encoding = "UTF-8"
options.fork = true
options.forkOptions.setMemoryMaximumSize("1g")
// FORCE the compiler to append our isolated bridge jars to the classpath
options.compilerArgs += [
'-classpath', configurations.migrationBridge.asPath
]
// Keep your existing filter below if needed
// def filters: FileCollection = sourceSets.main.compileClasspath.filter { ... }
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)