Skip to content

Commit 21820d3

Browse files
Update README.md
Add gradle setup for jitpack.io
1 parent 5e070da commit 21820d3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,40 @@
11
# Compose Image on Steroids
22

3+
[![](https://jitpack.io/v/SmartToolFactory/Compose-Image.svg)](https://jitpack.io/#SmartToolFactory/Compose-Image)
4+
5+
36
Collection of Images, Modifiers, utility functions for Jetpack Compose to expand
47
and enrich displaying, manipulating, scaling, resizing, zooming, and
58
getting cropped `ImageBitmap` based on selection area, before/after image to with handle to
69
show partial of both images and more is cooking up
710

811
https://user-images.githubusercontent.com/35650605/177950258-b9c122a9-b6df-422f-b03b-dcfe9a294b18.mp4
912

13+
## Gradle Setup
14+
15+
To get a Git project into your build:
16+
17+
* Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end
18+
of repositories:
19+
20+
```
21+
allprojects {
22+
repositories {
23+
...
24+
maven { url 'https://jitpack.io' }
25+
}
26+
}
27+
```
28+
29+
* Step 2. Add the dependency
30+
31+
```
32+
dependencies {
33+
implementation 'com.github.SmartToolFactory:Compose-Image:<version>'
34+
}
35+
```
36+
37+
1038
## ImageWithConstraints
1139

1240
A composable that lays out and draws a given `ImageBitmap`. This will attempt to

0 commit comments

Comments
 (0)