build.gradle.kts 1022 B

1234567891011121314151617181920212223242526272829303132333435
  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. plugins {
  10. kotlin("jvm")
  11. kotlin("plugin.serialization")
  12. id("java")
  13. `maven-publish`
  14. }
  15. dependencies {
  16. implementation("org.jline:jline:3.15.0")
  17. implementation("org.fusesource.jansi:jansi:1.18")
  18. compileAndTestRuntime(project(":mirai-console"))
  19. compileAndTestRuntime(`mirai-core-api`)
  20. compileAndTestRuntime(kotlin("stdlib-jdk8", Versions.kotlinStdlib)) // must specify `compileOnly` explicitly
  21. testApi(`mirai-core`)
  22. testApi(project(":mirai-console"))
  23. }
  24. version = Versions.consoleTerminal
  25. description = "Console Terminal CLI frontend for mirai"
  26. configurePublishing("mirai-console-terminal")
  27. // endregion