I have a simple java project that I use gradle for. Currently, I have specified all my library dependencies as one project dependencies tag. Is there a way for me to enable gradle to selectively choose only certain dependencies from the tag based on the compile task that is being run?
I have one compile task that builds the project for ARM, x64, x86, etc. And when running each task I would like the corresponding library dependency to be linked. Also, I would like to specify an All Task, that runs each task successively and builds the target for each platform.