Different versions & group Id for parent and child gradle


I want to set different versions and groupId for parent and child gradle script. The child includes the parent gradle using “apply from”.

Basically, I want to upload my parent gradle to nexus server using jenkins. The parent gradle sets the repos for upload and download. The child applies parent from nexus server to inherit the repos listed in upload and download.

Both child and parent would be build using jenkins.

Thanks, Pankit