Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
juniorvansuita authored and juniorvansuita committed Jun 16, 2022
1 parent 8eee621 commit dbdfaf8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,24 @@ This is an [**Android**](https://developer.android.com) project. It shows a [Dia

# Setup

#### Step #1. Add the JitPack repository to your build file:
#### Step #1. Add the JitPack repository to your build.gradle file:
```gradle
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
```
#### Step #1.1 Or add the JitPack repository to the settings.gradle file:

```gradle
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url 'https://jitpack.io' }
}
}
```
#### Step #2. Add the dependency ([See latest release](https://jitpack.io/#jrvansuita/PickImage)).
```groovy
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android:theme="@style/AppTheme">
<activity
android:name=".act.SampleActivity"
android:screenOrientation="sensorPortrait"
android:screenOrientation="fullSensor"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
Expand Down

0 comments on commit dbdfaf8

Please sign in to comment.