Preheat oven to 350°F. Grease an 8-inch square pan with butter or a dairy-free alternative. In the greased pan, combine the flour, white sugar, brown sugar, cinnamon, cloves, ginger, nutmeg, baking soda, and salt. Whisk lightly with a fork or small whisk to combine.
Make three wells in the dry ingredients and add the oil, vinegar, and almond extract to the wells. Pour the water over the top and whisk until thoroughly combined.
Bake for 35 minutes, until a toothpick inserted comes out clean. Cool completely. Sprinkle the cooled cake with powdered sugar or top with cream cheese frosting.