Skip to content

2.0版无法和SpringBoot一起打包,提示选择variants #746

Answered by Karlatemp
PiscesXP asked this question in Q&A
Discussion options

You must be logged in to vote

尝试

// build.gradle.kts
implementation("net.mamoe:mirai-core-jvm:<VER>") {
  exclude("net.mamoe","mirai-core-api")
  exclude("net.mamoe","mirai-core-utils")
}
implementation("net.mamoe:mirai-core-api-jvm:<VER>") {
  exclude("net.mamoe", "mirai-core-utils")
}
implementation("net.mamoe:mirai-core-utils-jvm:<VER>")
// build.gradle
implementation("net.mamoe:mirai-core-jvm:<VER>") {
  exclude group: 'net.mamoe', module: 'mirai-core-api'
  exclude group: 'net.mamoe', module: 'mirai-core-utils'
}
implementation("net.mamoe:mirai-core-api-jvm:<VER>") {
  exclude group: 'net.mamoe', module: 'mirai-core-utils'
}
implementation("net.mamoe:mirai-core-utils-jvm:<VER>")

Replies: 11 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Him188
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Him188
Comment options

@lannaican
Comment options

@lannaican
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
7 participants
Converted from issue

This discussion was converted from issue #746 on December 24, 2020 10:43.