Inheriting dependency jars from Parent .gradle file to child .gradle file


I’m having trouble loading jar form parent gradle file to the child.
For example, In parent project am using spring-batch dependencies, now in my child project am using parent project as my dependency, now if I want to use the dependencies of spring-batch, I have to explicitly mention them in the child gradle file, since I can’t use spring dependencies form parent.

Is there my solution for this, where I can use the dependencies direct from the parent instead of mentioning explicitly?