我项目的Github地址

在执行fabric:build的时候出现了报错

Could not determine the dependencies of task ':fabric:shadowJar'. > Could not resolve all dependencies for configuration ':fabric:shadow'. > Could not resolve net.mamoe:mirai-core:2.15.0-M1. Required by: project :fabric > project :common > Cannot choose between the following variants of net.mamoe:mirai-core:2.15.0-M1: - androidRuntimeElements-published - jvmRuntimeElements-published All of them match the consumer attributes: - Variant 'androidRuntimeElements-published' capability net.mamoe:mirai-core:2.15.0-M1: - Unmatched attributes: - Provides org.gradle.category 'library' but the consumer didn't ask for it - Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it - Provides org.gradle.status 'release' but the consumer didn't ask for it - Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it - Provides org.jetbrains.kotlin.platform.type 'androidJvm' but the consumer didn't ask for it - Variant 'jvmRuntimeElements-published' capability net.mamoe:mirai-core:2.15.0-M1: - Unmatched attributes: - Provides org.gradle.category 'library' but the consumer didn't ask for it - Provides org.gradle.libraryelements 'jar' but the consumer didn't ask for it - Provides org.gradle.status 'release' but the consumer didn't ask for it - Provides org.gradle.usage 'java-runtime' but the consumer didn't ask for it - Provides org.jetbrains.kotlin.platform.type 'jvm' but the consumer didn't ask for it

几个关键文件

fabric/build.gradle#L38 common/build.gradle#L14 (fabric模块依赖的common模块)