You chose that definition to fit your purpose but there are other definitions which I believe more accurately capture what our ideas about gravity are.
(2) : a fundamental physical force that is responsible for interactions which occur because of mass between particles, between aggregations of matter (as stars and planets), and between particles (as photons) and aggregations of matter, that is 10-39 times the strength of the strong force, and that extends over infinite distances but is dominant over macroscopic distances especially between aggregations of matter —called also gravitation, gravitational force
Merriam-webster
(2) : a fundamental physical force that is responsible for interactions which occur because of mass between particles, between aggregations of matter (as stars and planets), and between particles (as photons) and aggregations of matter, that is 10-39 times the strength of the strong force, and that extends over infinite distances but is dominant over macroscopic distances especially between aggregations of matter —called also gravitation, gravitational force
Merriam-webster