@@ -51,7 +51,7 @@ simbot4 提供了两个这样的库:`simbot-core` (也就是 **“核心库”
51
51
依赖于标准库, 但各自独立。
52
52
下文会将它们称为 ** “组件库”** 。
53
53
54
- 以我们 [ ** 官方维护的组件库** ] ( official- components.md) 为例, 它们都会有各自的应用手册,
54
+ 以我们 [ ** 官方维护的组件库** ] ( components-intro .md ) 为例, 它们都会有各自的应用手册,
55
55
手册中也会各自提供类似于“快速开始”的章节, 会提供如何进行配置, 如何搭建一个项目。
56
56
57
57
你接下来所要做的, 便是选择你希望使用的组件库(们), 将它们所需的依赖也添加下来, 然后进行配置就好了。
@@ -67,8 +67,8 @@ simbot4 提供了两个这样的库:`simbot-core` (也就是 **“核心库”
67
67
// 使用核心库
68
68
implementation(" love.forte.simbot:simbot-core:%version%" )
69
69
// 添加组件库, 假设有两个叫做 foo1、bar2 的组件实现
70
- implementation(" com.example.component:foo1-core:1.14 " )
71
- implementation(" io.github.Jojo.cp:bar2-impl:5.14 " )
70
+ implementation(" com.example.component:foo1-core:x.xx " )
71
+ implementation(" io.github.Jojo.cp:bar2-impl:x.xx " )
72
72
```
73
73
74
74
</tab >
@@ -78,8 +78,8 @@ implementation("io.github.Jojo.cp:bar2-impl:5.14")
78
78
// 使用核心库
79
79
implementation 'love.forte.simbot:simbot-core:%version%'
80
80
// 添加组件库, 假设有两个叫做 foo1、bar2 的组件实现
81
- implementation 'com.example.component:foo1-core:1.14 '
82
- implementation 'io.github.Jojo.cp:bar2-impl:5.14 '
81
+ implementation 'com.example.component:foo1-core:x.xx '
82
+ implementation 'io.github.Jojo.cp:bar2-impl:x.xx '
83
83
```
84
84
85
85
</tab >
@@ -96,12 +96,12 @@ implementation 'io.github.Jojo.cp:bar2-impl:5.14'
96
96
<dependency >
97
97
<groupId >com.example.component</groupId >
98
98
<artifactId >foo1-core</artifactId >
99
- <version >1.14 </version >
99
+ <version >x.xx </version >
100
100
</dependency >
101
101
<dependency >
102
102
<groupId >io.github.Jojo.cp</groupId >
103
103
<artifactId >bar2-impl</artifactId >
104
- <version >5.14 </version >
104
+ <version >x.xx </version >
105
105
</dependency >
106
106
```
107
107
@@ -110,7 +110,7 @@ implementation 'io.github.Jojo.cp:bar2-impl:5.14'
110
110
111
111
### 官方组件
112
112
113
- - 前往 [ ** 官方维护的组件库 ** ] ( official- components.md) 寻找你所需的组件, 并根据引导或手册添加依赖并使用。
113
+ - 前往 [ ** 组件库 ** ] ( components-intro .md ) 寻找你所需的组件, 并根据引导或手册添加依赖并使用。
114
114
115
115
### 社区组件
116
116
0 commit comments