build.gradle.kts 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. 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-stdlib-jdk8`)
  25. }
  26. version = Versions.consoleTerminal
  27. description = "Console frontend abstract"
  28. configurePublishing("mirai-console-frontend-base")
  29. configureBinaryValidator(null)