2
0

build.gradle.kts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. id("com.jfrog.bintray")
  15. }
  16. dependencies {
  17. implementation("org.jline:jline:3.15.0")
  18. implementation("org.fusesource.jansi:jansi:1.18")
  19. compileAndTestRuntime(project(":mirai-console"))
  20. compileAndTestRuntime(`mirai-core-api`)
  21. compileAndTestRuntime(kotlin("stdlib-jdk8", Versions.kotlinStdlib)) // must specify `compileOnly` explicitly
  22. testApi(`mirai-core`)
  23. testApi(project(":mirai-console"))
  24. }
  25. version = Versions.consoleTerminal
  26. description = "Console Terminal CLI frontend for mirai"
  27. configurePublishing("mirai-console-terminal", bintrayPkgName = "mirai-console-terminal")
  28. // endregion