2
0

build.gradle.kts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright 2019-2023 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/dev/LICENSE
  8. */
  9. import BinaryCompatibilityConfigurator.configureBinaryValidator
  10. plugins {
  11. kotlin("jvm")
  12. kotlin("plugin.serialization")
  13. id("java")
  14. `maven-publish`
  15. }
  16. kotlin {
  17. explicitApiWarning()
  18. }
  19. dependencies {
  20. compileAndTestRuntime(project(":mirai-core-utils"))
  21. compileAndTestRuntime(project(":mirai-console"))
  22. compileAndTestRuntime(project(":mirai-core-api"))
  23. compileAndTestRuntime(project(":mirai-core-utils"))
  24. compileAndTestRuntime(`kotlin-jvm-blocking-bridge`)
  25. compileAndTestRuntime(`kotlin-stdlib-jdk8`)
  26. }
  27. version = Versions.consoleTerminal
  28. description = "Console frontend abstract"
  29. configurePublishing("mirai-console-frontend-base")
  30. configureBinaryValidator(null)