task stripDuplicateFromLib1(type: Jar) {
def oldJar = zipTree(configurations.compileClasspath.find { it.name.contains("EQRioINtf") })
from oldJar
exclude "com/citigroup/get/zcc/intf/MessageTypeConstant.class"
archiveFileName = "EQRioINtf-stripped.jar"
destinationDirectory = file("$buildDir/stripped-libs")
}
// Tell the project to use the stripped version instead of the original
dependencies {
implementation files(stripDuplicateFromLib1)
implementation 'com.citigroup:OESIntf3_8:3.8_A29-SNAPSHOT'
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)