mirai-console 253 B

12345678910111213141516171819202122232425262728293031
  1. commit d25ffb094b7c3256bca755553bf0584c8c6567cd
  2. Author: Him188 <[email protected]>
  3. Date: Wed Feb 24 10:52:18 2021 +0800
  4. Update docs: remove jcenter and updater mirai versions
  5. diff --git a/docs/ConfiguringProjects.md b/docs/ConfiguringProjects.md
  6. index 16f70f4fb..39f9024b7 100644
  7. --- a/docs/ConfiguringProjects.md
  8. +++ b/docs/ConfiguringProjects.md
  9. @@ -58,10 +58,6 @@ plugins {
  10. 添加依赖:
  11. `build.gradle.kts`:
  12. ```kotlin
  13. -repositories {
  14. - jcenter()
  15. -}
  16. -
  17. dependencies {
  18. compileOnly("net.mamoe:mirai-core:$CORE_VERSION") // mirai-core 的 API
  19. compileOnly("net.mamoe:mirai-console:$CONSOLE_VERSION") // 后端
  20. @@ -70,8 +66,7 @@ dependencies {
  21. }
  22. ```
  23. -之后还需要配置 Kotlin `jvm-default` 编译参数,Kotlin 和 Java 的编译目标等。
  24. -在打包插件时必须将依赖一并打包进插件 JAR,且排除 `mirai-core`,`mirai-console` 和它们的间接依赖,否则插件不会被加载。
  25. +注意,在打包插件时必须将依赖一并打包进插件 JAR,且排除 `mirai-core`,`mirai-console` 和[它们的间接依赖](https://mvnrepository.com/artifact/net.mamoe/mirai-core-jvm/2.4.0),否则可能导致兼容性问题。
  26. > 现在你已经配置好了项目,返回 [开发文档索引](README.md#mirai-console)