Can i download the artifact form repository latest version without mentioning version details?
Can you elaborate what you mean? you can always use ‘latest.release’ as version identifier to receive the latest released version.
we have a multi project setup and it has subprojects like A, B,C,…Z.
Some of the projects of them depend on the test Library jar(Assume as external project $ like junit framework) but it needs compile time dependencies artifacts of A, B. But that external project need not build on every day and it won’t go to customer as deliverable artifact.
Problem is that we are putting this external framework as testCompile dependency our remaining sub projects. Here dependency conflict comes as project $ uses old version of A, B but the other projects uses latest of them. How can we solve this one in Gradle build system?
the default conflict resolve rule in gradle is latest first. so if you have a conflict in your dependency tree, gradle will use the newest version out of the box