Put all ingredients except cheese in a saucepan, stir briefly and bring to a boil. After about 5 minutes of cooking, add half of the cheese and stir in a little.
Transfer everything to a baking dish and sprinkle the rest of the cheese over it for gratinating.
Bake in the oven at 180 ° C for approx. 20 - 30 minutes until the cheese is golden brown.