Skip to content

Commit 6d4b190

Browse files
committed
README: Update
Signed-off-by: Fung <fython@163.com>
1 parent 0489c45 commit 6d4b190

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Kotlinyan
22

3+
[![](https://jitpack.io/v/moe.feng/kotlinyan.svg)](https://jitpack.io/#moe.feng/kotlinyan)
4+
35
> Make Kotlin Android app development easier and more elegant
46
>
57
> 让 Kotlin Android 应用开发更加简单、优雅
@@ -22,6 +24,24 @@ Kotlinyan 是烧饼自己整理的一些比较常用的方法实现(Utils)
2224
- `library-common` : Android 常用方法扩展
2325
- `library-picasso-support` : Picasso 扩展,为 ImageView 提供更加简单的 Lazy Load 方法
2426

27+
导入时,先在项目根目录下的 `build.gradle` 加入下列代码:
28+
```gradle
29+
allprojects {
30+
repositories {
31+
...
32+
maven { url 'https://jitpack.io' }
33+
}
34+
}
35+
```
36+
37+
再在应用 Module 的 `build.gradle` 中按需声明要依赖的模块:
38+
```gradle
39+
dependencies {
40+
compile 'moe.feng.kotlinyan:kotlinyan-common:v0.1.1'
41+
compile 'moe.feng.kotlinyan:kotlinyan-picasso-support:v0.1.1'
42+
}
43+
```
44+
2545
## 使用方法
2646

2747
稍后会写出详细的文档。

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ buildscript {
1414
allprojects {
1515
repositories {
1616
jcenter()
17+
maven { url 'https://jitpack.io' }
1718
}
1819
}
1920

0 commit comments

Comments
 (0)