Solve the problem that the build is interrupted when the local development directory is not a git repository, and other reasons cause the environment exception and cannot obtain git related information.
Duplicate entry for alias 'androidx.appcompat': dependency {group='androidx.appcompat', name='appcompat', version='1.6.1'} is replaced with dependency {group='androidx.appcompat', name='appcompat-resources', version='1.6.1'}
Then commented this line.
design: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Changed the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.15.1'.