2020-11-01 15:07:32 +08:00
|
|
|
/*
|
2022-06-26 16:03:15 +08:00
|
|
|
* Copyright 2019-2022 Mamoe Technologies and contributors.
|
2020-11-01 15:07:32 +08:00
|
|
|
*
|
2022-06-26 16:03:15 +08:00
|
|
|
* 此源代码的使用受 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.
|
2020-11-01 15:07:32 +08:00
|
|
|
*
|
2022-06-26 16:03:15 +08:00
|
|
|
* https://github.com/mamoe/mirai/blob/dev/LICENSE
|
2020-11-01 15:07:32 +08:00
|
|
|
*/
|
|
|
|
|
2020-09-22 18:56:27 +08:00
|
|
|
@file:Suppress("UnusedImport")
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
kotlin("jvm")
|
|
|
|
kotlin("plugin.serialization")
|
|
|
|
`maven-publish`
|
2021-12-12 22:37:01 +08:00
|
|
|
id("me.him188.kotlin-jvm-blocking-bridge")
|
2020-09-22 18:56:27 +08:00
|
|
|
}
|
|
|
|
|
2020-10-03 13:35:05 +08:00
|
|
|
version = Versions.project
|
2020-09-22 18:56:27 +08:00
|
|
|
description = "Mirai core shadowed"
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
api(project(":mirai-core"))
|
2020-10-03 12:42:13 +08:00
|
|
|
api(project(":mirai-core-api"))
|
2020-12-18 19:17:27 +08:00
|
|
|
api(project(":mirai-core-utils"))
|
2020-09-22 18:56:27 +08:00
|
|
|
}
|
|
|
|
|
2021-11-18 11:05:50 +08:00
|
|
|
if (System.getenv("MIRAI_IS_SNAPSHOTS_PUBLISHING")?.toBoolean() != true) {
|
2021-09-01 13:47:02 +08:00
|
|
|
configurePublishing("mirai-core-all")
|
2022-06-26 16:03:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
configureRelocationForCore()
|