Build android apk with gradle api level 28

Hello i am trying to build an apk with gradle however every time i build it and attempt to upload to the play store it notifies me that the apk level is 14 and thus too low how do I fix this? I have the android-28 sdk installed i am lost as to what I should do.

any help would be appreciated thank you for your time.