To make this Hawaiian Wedding Cake gluten-free, replace the all-purpose flour with a certified gluten-free 1:1 baking flour blend. Confirm that the baking powder, crushed pineapple, shredded coconut, walnuts, vanilla extract, cream cheese, heavy whipping cream, sugars, cinnamon, nutmeg, and toasted coconut are gluten-free and free from cross-contact. Some nuts, coconut products, baking powders, and extracts may be processed in facilities that handle wheat, so check labels carefully. Use clean bowls, utensils, measuring tools, and a separate baking dish or prep surface to prevent cross-contamination.