Preheat your oven to 400°F (200°C).
In a large mixing bowl, combine the gluten-free all-purpose flour, cornmeal, granulated sugar, baking powder, and salt. Whisk thoroughly.
In another bowl, whisk together the milk, vegetable oil, and eggs until smooth.
Pour the wet ingredients into the dry ingredients and stir gently until just combined. Fold in the corn kernels.
Pour the batter into an 8-inch square baking dish and spread evenly.
Bake for 20-25 minutes, or until the top is golden brown. Allow to cool for 10 minutes before slicing.