build.gradle.kts 838 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright 2019-2021 Mamoe Technologies and contributors.
  3. *
  4. * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
  5. * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
  6. *
  7. * https://github.com/mamoe/mirai/blob/master/LICENSE
  8. */
  9. @file:Suppress("UnusedImport")
  10. plugins {
  11. kotlin("jvm")
  12. kotlin("plugin.serialization")
  13. `maven-publish`
  14. id("net.mamoe.kotlin-jvm-blocking-bridge")
  15. }
  16. version = Versions.project
  17. description = "Mirai core shadowed"
  18. dependencies {
  19. api(project(":mirai-core"))
  20. api(project(":mirai-core-api"))
  21. api(project(":mirai-core-utils"))
  22. }
  23. if (!System.getenv("MIRAI_IS_SNAPSHOTS_PUBLISHING").toBoolean()) {
  24. configurePublishing("mirai-core-all")
  25. }