2020-05-14 08:18:03 +08:00
|
|
|
plugins {
|
2020-08-16 23:21:11 +08:00
|
|
|
kotlin("jvm")
|
|
|
|
kotlin("plugin.serialization")
|
2020-05-14 08:18:03 +08:00
|
|
|
id("java")
|
|
|
|
`maven-publish`
|
2020-06-28 11:45:21 +08:00
|
|
|
id("com.jfrog.bintray")
|
2020-05-14 08:18:03 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-06-22 12:49:02 +08:00
|
|
|
implementation("org.jline:jline:3.15.0")
|
|
|
|
implementation("org.fusesource.jansi:jansi:1.18")
|
2020-06-20 20:46:20 +08:00
|
|
|
|
2020-09-20 00:28:57 +08:00
|
|
|
compileAndTestRuntime(project(":mirai-console"))
|
2020-12-18 16:36:49 +08:00
|
|
|
compileAndTestRuntime(`mirai-core-api`)
|
|
|
|
compileAndTestRuntime(kotlin("stdlib-jdk8", Versions.kotlinStdlib)) // must specify `compileOnly` explicitly
|
2020-05-14 08:18:03 +08:00
|
|
|
|
2020-12-18 16:36:49 +08:00
|
|
|
testApi(`mirai-core`)
|
2020-05-14 08:18:03 +08:00
|
|
|
testApi(project(":mirai-console"))
|
2020-06-23 22:18:49 +08:00
|
|
|
}
|
|
|
|
|
2020-09-18 12:43:57 +08:00
|
|
|
version = Versions.consoleTerminal
|
2020-05-14 08:18:03 +08:00
|
|
|
|
2020-09-18 12:43:57 +08:00
|
|
|
description = "Console Terminal CLI frontend for mirai"
|
2020-06-28 11:45:21 +08:00
|
|
|
|
2020-09-18 12:43:57 +08:00
|
|
|
setupPublishing("mirai-console-terminal", bintrayPkgName = "mirai-console-terminal")
|
2020-06-28 11:45:21 +08:00
|
|
|
|
|
|
|
// endregion
|