Topological gravity in Minkowski space