spring 源码 gradle构建出错

报错如下:
FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/lixiuming/study/spring-framework/build.gradle' line: 9

  • What went wrong:
    An exception occurred applying plugin request [id: 'com.gradle.build-scan', version: '3.1.1']

    Failed to apply plugin [id 'com.gradle.build-scan']
    The build scan plugin is not compatible with Gradle 6.0 and later.
    Please use the Gradle Enterprise plugin instead.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

试过,也是不行

settings.gradle

plugins {
id "com.gradle.enterprise" version "3.1.1"
}

The build scan plugin is not compatible with Gradle 6.0 and later.
不支持Gradle 6.0,换老一点的版本
版本兼容表参考
https://www.cnblogs.com/hujinshui/p/10372595.html

请参考https://blog.csdn.net/weixin_41325595/article/details/105610797