I am trying to build a gradle project, where we have several dependent jars. One of this jar is a FAT jar which consist of hundreds of jar. All dependent jars are uploaded to artifactory.
build.gradle is able to compile all other jars however it is not able to get this fat jar compile due to transitive dependency
compile(group:"com.xyz.test", name:"joda-time",Version:"1.6")
--works for normal jar
compile(group:"com.xyz.test", name:"FAT_JAR", Version:"1.0")
--does not works for FAT jar
Getting following Error
Could not find org.objectweb.asm.Type ( class present in the asm.jar which is present in the FAT JAR)
Searched in following locations
.....
.....Artifactory repository locations
.....
For Required
project: Test> com.xyz.test.FAT_JAR.Test
I also tried other options like api/implementation instead of compile but it did not help.
I looked into many places, many pages have answer to build a FAT Jar, but what I am looking for compile build with dependent FAT jar.
Please advise.