Preheat oven to 375. Place 1 Tbsp butter in a saute pan and saute the leeks over medium heat. Stir occasionally. Add in garlic and then mushrooms. Mix all ingredients except the Gruyere together in a bowl. Pour into a buttered casserole dish. Sprinkle cheese on top. Bake for 1 hour.