Skip to content

Fix adding maven to repositories#54

Open
vtrifonov wants to merge 1 commit intoroblav96:masterfrom
vtrifonov:master
Open

Fix adding maven to repositories#54
vtrifonov wants to merge 1 commit intoroblav96:masterfrom
vtrifonov:master

Conversation

@vtrifonov
Copy link

There are currently two problems with adding maven to the repositories.

  1. When adding it to the platforms/android/build.gradle we need to add it before the closing } but not after it, that's why I'm subtracting 1 from the index and size of the matched block:
search = (buildGradleContent.indexOf(repositories[0]) - 1) + (repositories[0].length - 1);
  1. In the latest version of platforms/android/app/build.gradle in the repositories section we don't need to add the maven repository as it is already added in the platforms/android/build.gradle file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant