Preheat oven to 350 degrees. Grease a 8 x 8 cake pan.
In a large bowl, stir together the sugar, oil, eggs, and banana.
In a separate bowl, sift together flour, baking soda, baking powder, salt, and spices. Add the dry ingredients to the wet and stir together until well-combined. .
Fold in cranberries and pour into prepared pan.
Bake for 30 to 40 minutes, until a cake tester comes out clean.