Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codezjx committed Nov 16, 2021
1 parent 7cb6d07 commit 3729cd5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

[![Build Status](https://travis-ci.org/codezjx/AndLinker.svg?branch=master)](https://travis-ci.org/codezjx/AndLinker)
[![JCenter](https://api.bintray.com/packages/codezjx/maven/and-linker/images/download.svg)](https://bintray.com/codezjx/maven/and-linker/_latestVersion)
[![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)
[![License](https://img.shields.io/badge/License-Apache%20License%202.0-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0)

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

## Setup

Add the `jcenter()` repository in your root `build.gradle`.
Add the `mavenCentral()` repository in your root `build.gradle`.
```groovy
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
```

Add the dependencies in your app level `build.gradle`.
```groovy
dependencies {
implementation 'com.codezjx.library:andlinker:0.7.2'
implementation 'com.codezjx.library:andlinker:0.8.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ AndLinker是一款Android上的IPC (进程间通信) 库,结合了[AIDL][aidl]

## 配置

在项目根目录的`build.gradle`中添加`jcenter()`仓库
在项目根目录的`build.gradle`中添加`mavenCentral()`仓库
```groovy
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
```

在App的`build.gradle`中添加如下依赖
```groovy
dependencies {
implementation 'com.codezjx.library:andlinker:0.7.2'
implementation 'com.codezjx.library:andlinker:0.8.0'
}
```

Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {

repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
Expand All @@ -17,7 +17,7 @@ buildscript {
allprojects {
repositories {
google()
jcenter()
mavenCentral()
}
}

Expand Down

0 comments on commit 3729cd5

Please sign in to comment.