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

Not fetching repository from Bintray.com #556

Closed
anandwana001 opened this issue May 6, 2021 · 2 comments
Closed

Not fetching repository from Bintray.com #556

anandwana001 opened this issue May 6, 2021 · 2 comments

Comments

@anandwana001
Copy link

Using "https://bintray.com/bintray/jcenter" in maven install gives an error.

maven_install(
    artifacts = DAGGER_ARTIFACTS + get_maven_dependencies(),
    fetch_sources = True,
    repositories = DAGGER_REPOSITORIES + [
        "https://bintray.com/bintray/jcenter",
        "https://jcenter.bintray.com/",
        "https://maven.fabric.io/public",
        "https://maven.google.com",
        "https://repo1.maven.org/maven2",
    ],
)
"rules_jvm": {
        "sha": "e5b97a31a3e8feed91636f42e19b11c49487b85e5de2f387c999ea14d77c7f45",
        "version": "2.9",
    },

Error

ERROR: /home/runner/work/oppia-android/oppia-android/third_party/BUILD.bazel:22:17: 
//third_party:androidx_appcompat_appcompat depends on 
@maven//:androidx_appcompat_appcompat in repository @maven which failed to fetch. no such 
package '@maven//': Error while fetching artifact with coursier: Exception in thread "main" 
java.lang.NumberFormatException: For input string: "intot"

Removing bintray solves the error, but It doesn't look like a correct approach to solves the problem. Is there something like rules_jvm is no more supporting repositories fetching from bintray?

maven_install(
    artifacts = DAGGER_ARTIFACTS + get_maven_dependencies(),
    fetch_sources = True,
    repositories = DAGGER_REPOSITORIES + [
        "https://jcenter.bintray.com/",
        "https://maven.fabric.io/public",
        "https://maven.google.com",
        "https://repo1.maven.org/maven2",
    ],
)

Project Issue - oppia/oppia-android#3157

@Bencodes
Copy link
Contributor

Bencodes commented May 6, 2021

Bintray is being shut down and should be removed as a maven repository source.

See #517 and https://bintray.com/

@anandwana001
Copy link
Author

Thanks @Bencodes for the info.

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

No branches or pull requests

2 participants