Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
Mirai
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Mirai
Commits
e0ebff8a
Commit
e0ebff8a
authored
Jul 03, 2020
by
Him188
Committed by
GitHub
Jul 03, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update guide_quick_start.md
parent
10c66786
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
10 deletions
+8
-10
docs/guide_quick_start.md
docs/guide_quick_start.md
+8
-10
No files found.
docs/guide_quick_start.md
View file @
e0ebff8a
...
...
@@ -9,29 +9,21 @@
## 构建需求
-
Kotlin 1.3.72 (必须)
-
JDK 6 或更高 (必须)
-
JDK 6 或更高
## 获取 Demo
可在
[
mirai-demos
](
https://github.com/mamoe/mirai-demos
)
中获取已经配置好依赖的示例项目.
## Quick Start
请将
`VERSION`
替换为
`mirai-core`
的最新版本号(如
`
0.23.0
`
):
请将
`VERSION`
替换为
`mirai-core`
的最新版本号(如
`
1.0.4
`
):
[
![Download
](
https://api.bintray.com/packages/him188moe/mirai/mirai-core/images/download.svg
)
](https://bintray.com/him188moe/mirai/mirai-core/)
### 添加依赖
可通过以下三种方法之一添加 mirai 依赖.
#### 直接导入jar包 (不推荐)
下载已经编译好的 Jar 包, 并添加 Jar 依赖:
-
[
mirai-core
](
https://github.com/mamoe/mirai-repo/tree/master/shadow/mirai-core
)
-
[
mirai-qqandriod
](
https://github.com/mamoe/mirai-repo/tree/master/shadow/mirai-core-qqandroid
)
#### Maven
Kotlin 在 Maven 上只支持 JVM 平台.
```
xml
<repositories>
<repository>
...
...
@@ -84,6 +76,12 @@ implementation("net.mamoe:mirai-core-qqandroid-common:VERSION")
implementation
(
"net.mamoe:mirai-core-qqandroid-android:VERSION"
)
```
#### 直接导入jar包 (不推荐)
下载已经编译好的 Jar 包, 并添加 Jar 依赖:
-
[
mirai-core
](
https://github.com/mamoe/mirai-repo/tree/master/shadow/mirai-core
)
-
[
mirai-qqandriod
](
https://github.com/mamoe/mirai-repo/tree/master/shadow/mirai-core-qqandroid
)
### 开始使用
```
kotlin
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment