I have not tried to make this recipe using gluten-free ingredients. I have had luck baking with cup-for-cup gluten-free baking flour such as Bob's Red Mill. I would not recommend substituting the all-purpose flour for almond flour in this recipe, as it'll change the consistency.