You cannot bring any alcohol to the Maldives, as it is forbidden at the capital Male, where your flight will arrive. So do not buy anything in the Duty Free as it will be taken from you on arrival and given back only on departure from the country.
The resorts get a special license to import alcohol, so there are no restrictions when you are already on the resort island. That is where you will consume any alcohol if you choose.
For our Muslim guests or guests who do not consume alcohol we can always ask the resort to remove the alcoholic beverages from the villa, if needed.