Preheat your oven to 375°F (190°C) and grease a 9x13-inch baking dish with butter.
In a medium bowl, combine the softened butter, minced garlic, rosemary, thyme, salt, black pepper, and smoked paprika. Mix well until all the herbs are evenly incorporated into the butter.
Begin layering the sweet potatoes in the greased baking dish. Make a layer of sweet potato slices, then spread a thin layer of the herb butter over them. Continue this process until all sweet potatoes are used, finishing with a layer of sweet potatoes on top.
Pour the heavy cream evenly over the layered sweet potatoes, ensuring it seeps down through the layers. Then, sprinkle the grated Gruyère cheese generously across the top.
Evenly distribute the breadcrumbs over the cheese layer for a crispy topping.
Cover the dish with aluminum foil and bake in the preheated oven for 30 minutes. Then, remove the foil and bake for an additional 20-25 minutes, or until the sweet potatoes are tender and the top is golden brown and bubbly.
Once baked, remove from the oven and let it sit for about 10 minutes. Sprinkle fresh parsley over the top for a pop of color and freshness before serving.
Notes
Can be garnished with additional fresh herbs if desired.