SPDX license identifier not provided in source file.

SPDX license identifier not provided in source file.
报错原文:
SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: " to each source file. Use “SPDX-License-Identifier: UNLICENSED” for non-open-source code. Please see https://spdx.org for more information.

警告原因:
soliidity 0.6.8 引入了SPDX,使用时要在文件第一句加上SPDX-License-Identifier:
格式的语句。

解决:
在.sol文件第一句加上// SPDX-License-Identifier: SimPL-2.0即可,使用其他许可的话从下面网址中选择把SimPL-2.0改掉就可以了。