Skip to content

Commit 3729cd5

Browse files
committed
Update README.md
1 parent 7cb6d07 commit 3729cd5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[![Build Status](https://travis-ci.org/codezjx/AndLinker.svg?branch=master)](https://travis-ci.org/codezjx/AndLinker)
3-
[![JCenter](https://api.bintray.com/packages/codezjx/maven/and-linker/images/download.svg)](https://bintray.com/codezjx/maven/and-linker/_latestVersion)
3+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.codezjx.library/andlinker/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.codezjx.library/andlinker)
44
[![License](https://img.shields.io/badge/License-Apache%20License%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)
55

66
# AndLinker
@@ -13,19 +13,19 @@ AndLinker is a IPC(Inter-Process Communication) library for Android, which combi
1313

1414
## Setup
1515

16-
Add the `jcenter()` repository in your root `build.gradle`.
16+
Add the `mavenCentral()` repository in your root `build.gradle`.
1717
```groovy
1818
allprojects {
1919
repositories {
20-
jcenter()
20+
mavenCentral()
2121
}
2222
}
2323
```
2424

2525
Add the dependencies in your app level `build.gradle`.
2626
```groovy
2727
dependencies {
28-
implementation 'com.codezjx.library:andlinker:0.7.2'
28+
implementation 'com.codezjx.library:andlinker:0.8.0'
2929
}
3030
```
3131

README_CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ AndLinker是一款Android上的IPC (进程间通信) 库,结合了[AIDL][aidl]
55

66
## 配置
77

8-
在项目根目录的`build.gradle`中添加`jcenter()`仓库
8+
在项目根目录的`build.gradle`中添加`mavenCentral()`仓库
99
```groovy
1010
allprojects {
1111
repositories {
12-
jcenter()
12+
mavenCentral()
1313
}
1414
}
1515
```
1616

1717
在App的`build.gradle`中添加如下依赖
1818
```groovy
1919
dependencies {
20-
implementation 'com.codezjx.library:andlinker:0.7.2'
20+
implementation 'com.codezjx.library:andlinker:0.8.0'
2121
}
2222
```
2323

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44

55
repositories {
66
google()
7-
jcenter()
7+
mavenCentral()
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.4.2'
@@ -17,7 +17,7 @@ buildscript {
1717
allprojects {
1818
repositories {
1919
google()
20-
jcenter()
20+
mavenCentral()
2121
}
2222
}
2323

0 commit comments

Comments
 (0)