Preheat your oven to 175°C (350°F). Grease and line a 23cm (9-inch) round or square cake tin.
In a large bowl, whisk together the flour, baking powder, baking soda, salt, and all the spices.
In another bowl, whisk the sugars, melted butter, oil, eggs, buttermilk, and vanilla until smooth.
Gently fold the wet ingredients into the dry, mixing just until combined. Overmixing can make the cake dense.
Pour the batter into the prepared tin and bake for 30–35 minutes, or until a skewer inserted into the centre comes out clean.
Let the cake cool in the tin for 10 minutes, then turn out onto a wire rack to cool completely.
If you want to make cupcakes, bake them for 18–20 minutes and check doneness with a skewer.