xiaowine / Lyric-Getter-Api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lyric-Getter-API

这是Lyric Getter 的API,用于收发歌词


使用方法

1. 项目 Gradle 添加 JitPack 依赖

allprojects {
    repositories {
        // ...
        maven { url 'https://jitpack.io' }
    }
}

or

allprojects {
    repositories {
        // ...
        maven("https://jitpack.io")
    }
}

2. 要使用的模块下添加 Lyric-Getter-API 依赖

最新版本⬇️⬇️⬇️

dependencies {
    // ...
    implementation 'com.github.xiaowine:Lyric-Getter-Api:<VERSION>'
}

or

dependencies {
    // ...
    implementation("com.github.xiaowine:Lyric-Getter-Api:<VERSION>")
}

3.具体使用请见Demo 或查看API


注意 若开启了 proguard 请保证 API 类不被混淆:

-keep class cn.lyric.getter.api.data.*{*;}
-keep class cn.lyric.getter.api.API{*;}

Star History

Star History Chart

About

License:GNU Lesser General Public License v2.1


Languages

Language:Kotlin 100.0%