mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-19 21:49:16 +08:00
38 lines
978 B
Plaintext
38 lines
978 B
Plaintext
|
/*
|
||
|
* Copyright 2019-2022 Mamoe Technologies and contributors.
|
||
|
*
|
||
|
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
||
|
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
||
|
*
|
||
|
* https://github.com/mamoe/mirai/blob/dev/LICENSE
|
||
|
*/
|
||
|
|
||
|
|
||
|
plugins {
|
||
|
kotlin("jvm")
|
||
|
kotlin("plugin.serialization")
|
||
|
`maven-publish`
|
||
|
id("me.him188.kotlin-jvm-blocking-bridge")
|
||
|
}
|
||
|
|
||
|
version = Versions.project
|
||
|
description = "Mirai core mock testing framework"
|
||
|
|
||
|
kotlin {
|
||
|
explicitApiWarning()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
api(project(":mirai-core-api"))
|
||
|
implementation(project(":mirai-core-utils"))
|
||
|
implementation(project(":mirai-core"))
|
||
|
|
||
|
implementation(`ktor-server-core`)
|
||
|
implementation(`ktor-server-netty`)
|
||
|
implementation(`java-in-memory-file-system`)
|
||
|
|
||
|
}
|
||
|
|
||
|
configurePublishing("mirai-core-mock")
|
||
|
tasks.named("shadowJar") { enabled = false }
|