Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes needed for gradle 3.0.1 compatibility #116

Closed
pacamara opened this issue Jan 19, 2018 · 6 comments
Closed

Changes needed for gradle 3.0.1 compatibility #116

pacamara opened this issue Jan 19, 2018 · 6 comments
Assignees

Comments

@pacamara
Copy link

pacamara commented Jan 19, 2018

Some minor changes are needed for gradle 3.0.1 compatibility: in android/build.gradle:

We are currently hacking these changes with a script in status.im, and would rather it is fixed upstream. Thanks!

Parent issue: status-im/status-mobile#3037

@ZiadAyman ZiadAyman self-assigned this Jan 22, 2018
@ZiadAyman
Copy link

Hey @pacamara
Please accept my apologies on the late reply here!
We are on it.

@ZiadAyman
Copy link

Can you try to install please this branch using
npm install https://github.com/Instabug/instabug-reactnative#hotfix/gradle_3.0.1
and tell me if the issue is fixed or not?

@pacamara
Copy link
Author

@ZiadAyman Thanks! That leads to a build failure with

> Could not resolve com.instabug.library:instabug:4.9.0.3-SNAPSHOT.
  Required by:
      project :app > project :instabug-reactnative
   > Could not resolve com.instabug.library:instabug:4.9.0.3-SNAPSHOT.
      > Could not get resource 'http://139.162.11.12:8081/artifactory/libs-release-local/com/instabug/library/instabug/4.9.0.3-SNAPSHOT/instabug-4.9.0.3-SNAPSHOT.pom'.
         > Could not GET 'http://139.162.11.12:8081/artifactory/libs-release-local/com/instabug/library/instabug/4.9.0.3-SNAPSHOT/instabug-4.9.0.3-SNAPSHOT.pom'. Received status code 409 from server: Conflict

(on a fresh checkout, and with instabug removed from .gradle and .m2 directories). Any ideas?

@viniciusvieir
Copy link

I got the same error. Any solutions?

@kamelnabil kamelnabil assigned Korazy and unassigned ZiadAyman May 23, 2018
@Korazy
Copy link

Korazy commented Jun 7, 2018

Hey @viniciusvieir @pacamara

Can you go to the project level build.gradle file where you can find this path YourProjectName/android/build.gradle and add these lines:

maven {
// TODO add this only if interested in getting SNAPSHOT releases
url "https://oss.sonatype.org/content/repositories/snapshots"
}

Let me know if it works for you :)

@Korazy Korazy closed this as completed Jul 4, 2018
@lock
Copy link

lock bot commented May 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants