plugin supporting

This commit is contained in:
jiahua.liu 2020-01-18 20:06:33 +08:00
parent 6e33ddf296
commit ea740f2690
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ apply plugin: "java"
dependencies {
api project(':mirai-core')
api project(':mirai-core-timpc')
runtimeOnly files(':mirai-core-timpc')
runtimeOnly files('../mirai-core/build/classes/kotlin/jvm/main')
// classpath is not set correctly by IDE
}

View File

@ -17,6 +17,7 @@ fun main() {
println("\"login qqnumber qqpassword \" to login a bot")
println("\"login qq号 qq密码 \" 来登陆一个BOT")
thread {
loop@ while (true) {
var command = readLine()