Preheat the oven to 350°F.
In a large mixing bowl, whisk together the flour, sugar, baking soda, salt, ginger, cinnamon, cloves, and allspice.
Melt the butter in a small saucepan. Remove the saucepan from the heat and add the molasses to the melted butter. Mix well and then pour this mixture into the dry ingredients in the bowl. Mix to moisten the flour.
Add the water or coffee.
Whisk together the egg and buttermilk, and then pour this mixture into the bowl. Stir the coffee, egg, and buttermilk mixture into the batter to incorporate.
Once smooth, pour the batter into the prepared pan. (If preparing this by hand without an electric whisk, there may be some lumps in the batter. Press them out with your spoon or spatula the best that you can. But do not worry if a few lumps remain. The cake will bake correctly.)
Bake for 30-35 minutes, or longer, until the sides of the cake pull away slightly from the edges of the pan and a toothpick inserted in the center of the cake comes out clean.
Remove the cake from the oven and allow it to cool in the pan for 15 minutes.
Turn the cake out onto a cooling rack to cool completely.
Once completely cooled, transfer cake to a serving plater or cake stand and decorate with powdered sugar.
Serve with just the powdered sugar or a dollop of whipped cream.