build.gradle.kts 902 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright 2019-2022 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/dev/LICENSE
  8. */
  9. @file:Suppress("UnusedImport")
  10. plugins {
  11. kotlin("jvm")
  12. kotlin("plugin.serialization")
  13. id("java")
  14. }
  15. version = "0.0.0"
  16. kotlin {
  17. explicitApiWarning()
  18. }
  19. dependencies {
  20. api(project(":mirai-console.integration-test"))
  21. implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2")
  22. val ktorVersion = "2.0.0"
  23. implementation("io.ktor:ktor-client-core:$ktorVersion")
  24. implementation("io.ktor:ktor-client-java:$ktorVersion")
  25. implementation("io.ktor:ktor-client-resources:$ktorVersion")
  26. }