As the title states, my question is fairly simple. It is fairly well-known that one can derive a law similar to Gauss's law (for electric fields) for gravity, which is essentially equivalent to Newton's law of universal gravitation. But what I was wondering is who actually came up with it? I suppose that it wasn't rocket science, but someone must have been the first one. I have tried to look this up, but the information on Gauss's law for gravity is not very extensive.