fixed gradle generate doc  bug