Description
Added null checks for source and target versions when compiling source files.
Issue Link: #36957: AbstractAotMojo should not add source or target if they are null
Comment From: snicoll
@omaryaya thank you for making your first contribution to Spring Boot.