To make this dessert gluten-free, substitute the all-purpose flour with a 1:1 gluten-free flour blend. Ensure that all other ingredients (particularly the Baileys and chocolate) are certified gluten-free. The texture may be slightly more delicate, but the flavor will remain rich and indulgent.