Pretty sure neither work. I can't build the defense platforms i just researched (i read they defend Frontier Outposts). I saw in the beginning of my game that a Military Outpost was an option in a neighbored system within my boarders, but has since disappeared.
There is also a bug that repeatedly makes the Upgrade Fleet icon light up and waste minerals even though all ships are upgraded. I dismantled the fleet and separately none of the ships needed upgraded, but put them all together and it tells me 4 ships can be upgraded.
P.s. on Ps4 and typing this on my phone so excuse the typos and punctuation.
There is also a bug that repeatedly makes the Upgrade Fleet icon light up and waste minerals even though all ships are upgraded. I dismantled the fleet and separately none of the ships needed upgraded, but put them all together and it tells me 4 ships can be upgraded.
P.s. on Ps4 and typing this on my phone so excuse the typos and punctuation.