The government said it will raise the country’s defence spending to more than 3 of gross domestic product (GDP) this year and next.