Jitpack编译时kotlin版本不对

上传开源库到Jitpack时一直红标,报错为:

Could not resolve compiler classpath. Check if Kotlin Gradle plugin repository is configured in project ':app'.

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:compileReleaseKotlin'.
> Could not resolve all files for configuration ':app:kotlinCompilerClasspath'.
   > Cannot resolve external dependency org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.10 because no repositories are defined.
     Required by:
         project :app

完整日志在这里
其中奇怪的是,上面写到的kotlin版本是Kotlin: 1.4.31,事实上我的build.gradle指定的版本是:

ext {
        compose_version = '1.0.0-beta09'
        kotlin_version = '1.5.10'
    }
    repositories {
        //...
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.0-beta05'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }

请问这是为啥呢?
thanks!

依赖冲突解决策略默认就是使用冲突依赖的高版本。除非更改默认冲突解决策略。题主指定的低版本,但是最终提示错误的版本与题主指定的版本不一致,原因就是其他地方有对高版本的依赖声明。