From 05ff819d2f457c004ee2b29860aa16544ff90680 Mon Sep 17 00:00:00 2001 From: forjrking Date: Tue, 30 Mar 2021 14:04:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 24 +++++++++++++++--------- libImage/build.gradle | 3 +++ 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 0232bd1..eccdd75 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/libImage/build.gradle b/libImage/build.gradle index 9672b3f..2c8a815 100644 --- a/libImage/build.gradle +++ b/libImage/build.gradle @@ -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