Cut this recipe in half for a 1-layer 8 or 9 inch round or 8" square cake
Pre-heat the oven to 350°F. Line 2 cake pans with parchment and spray with oil.
Place the flour, baking powder, xanthan gum, spices, salt and vanilla, if in powder form, into a large mixing bowl. Whisk to combine.
Beat the sugar with the eggs, milk, oil and (liquid) vanilla in a mixing bowl. Beat until smooth.
Pour the liquid ingredients into the dry and mix until the batter is smooth.
Divide the batter evenly between the 2 pans, or for a three layer cake divide between 3 pans (8"only).
Bake 35-40 minutes for 8" round, 25-30 minutes for 9" round and 8" square. The top should be set and bounce back from a gentle tap.
Cool layers in the pan for 5 minutes. Then transfer to a wire rack to cool completely.
Frost with cream cheese frosting, sweet potato frosting or vanilla buttercream frosting.