Nathaniel Okusanya, received a life sentence with a minimum term of 20 years.
Nelson Idiabeta, detained at her majesty's pleasure, received a minimum term 19 years
Passing sentence his honour Judge Marks QC told the two teenagers:
"You have shown not one iota of remorse, both of you seeking to brazen it out in front of a jury."
More top news
Paramedics attended a scene in Willesden, north-west London, on Monday afternoon where they found the teenager with stab wounds.
At least five people have suffered minor injuries but the cause of the blast is still unknown.
A songwriter from Harlesden who wrote a track for Beyonce's Lemonade album has been nominated for a Grammy Award.