Skip to content

Commit

Permalink
打包配置
Browse files Browse the repository at this point in the history
  • Loading branch information
forJrking committed Mar 30, 2021
1 parent 6159da6 commit 05ff819
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@
## 使用方法

```groovy
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
```

```groovy
dependencies {
implementation ''
}
dependencies {
implementation ''
}
```
```kotlin
iv_2.loadImage(url, placeHolder = R.color.blue)
Expand Down Expand Up @@ -60,7 +60,13 @@ iv_9.loadImage(load = R.drawable.test, with = MainActivity@ this,
```kotlin
ImageView.loadImage(...)
ImageView.loadProgressImage(...)

ImageView.loadResizeImage(...)
ImageView.loadGrayImage(...)
ImageView.loadBlurImage(...)
ImageView.loadBlurImage(...)
ImageView.loadRoundCornerImage(...)
ImageView.loadCircleImage(...)
ImageView.loadBorderImage(...)

//终极扩展函数
@JvmOverloads
Expand Down
3 changes: 3 additions & 0 deletions libImage/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.github.dcendents.android-maven'

group='com.github.forJrking'

android {
compileSdkVersion 30
Expand Down

0 comments on commit 05ff819

Please sign in to comment.