Indonesia and China pledge closer defence, energy ties

China and Indonesia have agreed on Friday to boost military co-operation and to work closely on minerals, energy and technology.