you are following the project requirements, that is not plagiarism
plagiarism is taking someone else code and say it’s yours