Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Add section to remove maven repository on Capacitor 2 upgrade guide (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed May 7, 2021
1 parent 226ba95 commit 9b6ac55
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pages/docs/v3/updating/2-0.md
Expand Up @@ -228,3 +228,19 @@ In `android/app/src/main/res/xml/file_paths.xml` add `<cache-path name="my_cache
### Remove `launch_splash.xml`

The `android/app/src/main/res/drawable/launch_splash.xml` file can be removed because it is no longer used.

### Remove maven repository

Capacitor is distributed on npm, so having the maven repository entry on `android/app/build.gradle` is no longer needed and can cause problems.
Remove it from `repositories` section:

```diff-groovy
repositories {
- maven {
- url "https://dl.bintray.com/ionic-team/capacitor"
- }
flatDir {
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
}
}
```

2 comments on commit 9b6ac55

@vercel
Copy link

@vercel vercel bot commented on 9b6ac55 May 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9b6ac55 May 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.