Fix gravity inject in build project