For those that are facing the same problem, please check this configuration under:
File > Project Structure > Project Settings > Module Screenshot:
image