build.gradle.kts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright 2020 Mamoe Technologies and contributors.
  3. * 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
  4. * Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
  5. *
  6. * https://github.com/mamoe/mirai/blob/master/LICENSE
  7. */
  8. plugins {
  9. java
  10. }
  11. dependencies {
  12. implementation(project(":mirai-core"))
  13. implementation(project(":mirai-serialization"))
  14. testImplementation(group = "junit", name = "junit", version = "4.12")
  15. implementation(kotlin("stdlib", null))
  16. implementation(kotlin("serialization", null))
  17. implementation(kotlin("reflect", null))
  18. implementation(kotlinx("serialization-runtime-common", Versions.Kotlin.serialization))
  19. implementation(kotlinx("serialization-protobuf-common", Versions.Kotlin.serialization))
  20. implementation(kotlinx("io", Versions.Kotlin.io))
  21. implementation(kotlinx("coroutines-io", Versions.Kotlin.coroutinesIo))
  22. implementation(kotlinx("coroutines-core-common", Versions.Kotlin.coroutines))
  23. implementation("org.jetbrains.kotlinx:atomicfu-common:${Versions.Kotlin.atomicFU}")
  24. implementation(ktor("client-cio", Versions.Kotlin.ktor))
  25. implementation(ktor("client-core", Versions.Kotlin.ktor))
  26. implementation(ktor("network", Versions.Kotlin.ktor))
  27. }