Skip to content

Commit b515935

Browse files
authored
Add Maven Central import Url and badge
Add Maven Central import Url and badge
1 parent bfdde96 commit b515935

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

README.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
![Forks](https://img.shields.io/github/forks/AmrDeveloper/ReactButton.svg)
88
![License](https://img.shields.io/github/license/AmrDeveloper/ReactButton.svg)
99
[![](https://jitpack.io/v/AmrDeveloper/ReactButton.svg)](https://jitpack.io/#AmrDeveloper/ReactButton)
10+
![Maven Central](https://img.shields.io/maven-central/v/io.github.amrdeveloper/reactbutton?color=green)
1011

1112
Android Library to make it easy to add ReactButton feature in your app with Multi Reactions like Facebook or Linkedin ...etc, you can add many reactions as you want, you can also split them into number of columns, and also customize the colors and text for each reactions
1213

@@ -27,21 +28,29 @@ Android Library to make it easy to add ReactButton feature in your app with Mult
2728

2829
Add ReactButton To Your Current Project:
2930

30-
Add it in your root build.gradle at the end of repositories
31-
31+
From Maven Central
3232
```gradle
33-
allprojects {
34-
repositories {
35-
maven { url 'https://jitpack.io' }
36-
}
37-
}
33+
implementation 'io.github.amrdeveloper:reactbutton:2.0.3'
34+
```
35+
<details>
36+
<summary>Or Add ReactButton from Jitpack.io</summary>
37+
38+
Add it in your root build.gradle at the end of repositories
39+
40+
```gradle
41+
allprojects {
42+
repositories {
43+
maven { url 'https://jitpack.io' }
44+
}
45+
}
3846
```
3947
40-
Add the dependency
48+
Add the dependency
4149

42-
```gradle
43-
implementation 'com.github.AmrDeveloper:ReactButton:2.0.3'
44-
```
50+
```gradle
51+
implementation 'com.github.AmrDeveloper:ReactButton:2.0.3'
52+
```
53+
</details>
4554

4655
How To Initializing ReactButton:
4756

0 commit comments

Comments
 (0)