Skip to content

Commit 8bac51b

Browse files
committed
Update to Coil 2.0
1 parent 627b02a commit 8bac51b

30 files changed

+284
-264
lines changed
File renamed without changes.

README.md

Lines changed: 1 addition & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -63,77 +63,7 @@ imageView.load("https://www.example.com/image.jpg") {
6363
```
6464

6565
## Preview
66-
Here, you can preview each of the type of filters.
67-
68-
### `com.github.Commit451.coil-transformations:transformations`
69-
- ColorFilterTransformation
70-
71-
![ColorFilterTransformation](preview/images/color-filter.png)
72-
73-
- CropTransformation
74-
75-
![CropTransformation](preview/images/center-crop.png)
76-
77-
- MaskTransformation
78-
79-
![MaskTransformation](preview/images/mask.png)
80-
81-
- SquareCropTransformation
82-
83-
![SquareCropTransformation](preview/images/square-crop.png)
84-
85-
### `com.github.Commit451.coil-transformations:transformations-gpu`
86-
87-
- BrightnessFilterTransformation
88-
89-
![BrightnessFilterTransformation](preview/images/brightness.png)
90-
91-
- ContrastFilterTransformation
92-
93-
![ContrastFilterTransformation](preview/images/contrast.png)
94-
95-
- InvertFilterTransformation
96-
97-
![InvertFilterTransformation](preview/images/invert.png)
98-
99-
- KuwaharaFilterTransformation
100-
101-
![KuwaharaFilterTransformation](preview/images/kuwahara.png)
102-
103-
- PixelationFilterTransformation
104-
105-
![PixelationFilterTransformation](preview/images/pixelation.png)
106-
107-
- SepiaFilterTransformation
108-
109-
![SepiaFilterTransformation](preview/images/sepia.png)
110-
111-
- SketchFilterTransformation
112-
113-
![SketchFilterTransformation](preview/images/sketch.png)
114-
115-
- SwirlFilterTransformation
116-
117-
![SwirlFilterTransformation](preview/images/swirl.png)
118-
119-
- ToonFilterTransformation
120-
121-
![ToonFilterTransformation](preview/images/toon.png)
122-
123-
- VignetteFilterTransformation
124-
125-
![VignetteFilterTransformation](preview/images/vignette.png)
126-
127-
### `com.github.Commit451.coil-transformations:transformations-face-detection`
128-
129-
- CenterOnFaceTransformation
130-
131-
![CenterOnFaceTransformation](preview/images/COF-no-op-and-zero.png)
132-
133-
![CenterOnFaceTransformation](preview/images/COF-20-and-40.png)
134-
135-
![CenterOnFaceTransformation](preview/images/COF-80-and-100.png)
136-
66+
See a preview of the transformations [here](https://github.com/Commit451/coil-transformations/blob/master/preview/preview.md)
13767

13868
## Thanks
13969
Inspired by [Glide Transformations](https://github.com/wasabeef/glide-transformations) by [wasabeef](https://github.com/wasabeef). Thanks of course to [Coil](https://github.com/coil-kt/coil) contributors for making a great image loading library.

build.gradle.kts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,17 @@ buildscript {
55
maven("https://plugins.gradle.org/m2/")
66
}
77
dependencies {
8-
classpath("com.android.tools.build:gradle:7.0.4")
9-
classpath("org.jlleitschuh.gradle:ktlint-gradle:9.2.1")
8+
classpath("com.android.tools.build:gradle:7.1.2")
9+
classpath("org.jlleitschuh.gradle:ktlint-gradle:10.2.1")
1010
classpath("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
1111
classpath(kotlin("gradle-plugin", version = "1.6.10"))
1212
}
1313
}
1414

15+
plugins {
16+
id("com.github.ben-manes.versions") version "0.42.0"
17+
}
18+
1519
allprojects {
1620
repositories {
1721
google()

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ android.useAndroidX=true
66
# Config
77
minSdk=14
88
targetSdk=31
9-
coilVersion=1.4.0
9+
coilVersion=2.0.0-rc01
1010

1111
GROUP=com.commit451.coiltransformations
12-
VERSION_NAME=1.1.1
12+
VERSION_NAME=1.0.0
1313

1414
POM_NAME=Transformations for Coil
1515
POM_DESCRIPTION=Various transformations for Coil

gradle/wrapper/gradle-wrapper.jar

618 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-all.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)