Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit e45b389

Browse files
committed
[FEAT] add jitpack support.
1 parent 4ebe36c commit e45b389

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

lrcview/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'maven-publish'
23

34
android {
45
compileSdkVersion 31
@@ -32,3 +33,16 @@ dependencies {
3233
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
3334
}
3435

36+
afterEvaluate {
37+
publishing {
38+
publications {
39+
// Creates a Maven publication called "release".
40+
release(MavenPublication) {
41+
from components.release
42+
groupId = 'com.github.AgoraIO-Community'
43+
artifactId = 'lrcview'
44+
version = '1.0'
45+
}
46+
}
47+
}
48+
}

0 commit comments

Comments
 (0)