It depends. The strength of gravitational force between non other than two objects depends on two factors. Mass and distance. The force of gravity and masses exert on each other. Making a consequence if one of the masses are doubled, the force of gravity of the the objects is doubled.
The Newton's law of gravitation gives the force acting between two bodies when they are separated by some distance. Mathematically, it is given by :
It shows that the gravitational force is directly proportional to the product of masses of two bodies and inversely proportional to the square of distance between them.
So, as the mass of bodies increases, the gravitational force increases and with the increase of distance between them, the gravitational force decreases.