The gravitational field of a radiating star