Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
石工 committed Apr 23, 2021
1 parent 1101daa commit 33391ca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# lrcview
[![Download](https://api.bintray.com/packages/chanwong21/maven/lrcview/images/download.svg)](https://bintray.com/chanwong21/maven/lrcview/_latestVersion)
[![](https://jitpack.io/v/wangchenyan/lrcview.svg)](https://jitpack.io/#wangchenyan/lrcview)

## 系列文章
- [Android开源在线音乐播放器——波尼音乐](https://juejin.im/post/5c373a32e51d4551cc6df6db)
Expand Down Expand Up @@ -53,6 +53,15 @@ Android歌词控件,支持上下拖动歌词,歌词自动换行,自定义
## 使用
**Gradle**
```
// root project build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
// module build.gradle
// "latestVersion"改为文首徽章后对应的数值
implementation 'me.wcy:lrcview:latestVersion'
```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

buildscript {
repositories {
mavenCentral()
jcenter()
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.2'
Expand All @@ -13,9 +13,9 @@ buildscript {

allprojects {
repositories {
mavenCentral()
jcenter()
google()
mavenCentral()
}
}

Expand Down
2 changes: 0 additions & 2 deletions lrcview/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ buildscript {
}
}

group = 'me.wcy'

android {
compileSdkVersion Integer.parseInt(COMPILE_SDK_VERSION)
buildToolsVersion BUILD_TOOLS_VERSION
Expand Down

0 comments on commit 33391ca

Please sign in to comment.