-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3de344
commit f6aad14
Showing
7 changed files
with
68 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# musicApi音乐接口接入文档 | ||
|
||
|
||
|
||
为了减少MusicLake工程对音乐api的依赖,方便api调用和版本隔离,特意将音乐相关的api接口和调用方式封住成了一个库。 | ||
|
||
### 接入方式 | ||
|
||
在app/build.gradle配置中添加远程依赖 | ||
``` | ||
implementation 'com.github.caiyonglong:musicapi:1.1.4' | ||
``` | ||
### 本地调试musicApi库 | ||
|
||
一、首先将 [https://github.com/caiyonglong/MusicApi](https://github.com/caiyonglong/MusicApi) 库clone到本地 | ||
注意,需要和MusicLake同级目录。 | ||
|
||
二、修改 setting.gradle | ||
|
||
``` | ||
include ':musicapi' | ||
project (':musicapi').projectDir = new File('../MusicClientApi/musicapi') | ||
``` | ||
三、在 app/build.gradle配置中添加依赖 | ||
注释远程依赖库、增加本地musicapi依赖看库 | ||
|
||
``` | ||
implementation project(':musicapi') | ||
``` | ||
具体可参考项目中的setting.gradle 和app/build.gradle | ||
|
||
|
||
|
||
**欢迎star 、PR、isuee!!!** | ||
|