To make this recipe gluten-free, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. Ensure the vanilla pudding mix is certified gluten-free, as some brands may contain gluten-based thickeners. No additional adjustments are required.