build.gradle.kts 894 B

12345678910111213141516171819202122232425262728293031323334
  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. @file:Suppress("UnusedImport")
  10. plugins {
  11. kotlin("jvm")
  12. id("java")
  13. `maven-publish`
  14. }
  15. repositories {
  16. maven("https://maven.aliyun.com/repository/public")
  17. }
  18. version = Versions.console
  19. description = "Mirai Console compiler resolve"
  20. dependencies {
  21. api(`jetbrains-annotations`)
  22. // api(`kotlinx-coroutines-jdk8`)
  23. api(project(":mirai-console-compiler-annotations"))
  24. compileOnly(`kotlin-compiler`)
  25. testRuntimeOnly(`kotlin-compiler`)
  26. }
  27. configurePublishing("mirai-console-compiler-common")