Skip to content

Cannot Resolve Scarlet Dependencies (0.2.4) despite adding JitPack repository #243

@ckpenep

Description

@ckpenep

Cannot Resolve Scarlet Dependencies (0.2.4) despite adding JitPack repository:

Could not find com.github.tinder.scarlet:scarlet:0.2.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/tinder/scarlet/scarlet/0.2.4/scarlet-0.2.4.pom
- https://repo.maven.apache.org/maven2/com/github/tinder/scarlet/scarlet/0.2.4/scarlet-0.2.4.pom
- https://jitpack.io/com/github/tinder/scarlet/scarlet/0.2.4/scarlet-0.2.4.pom

Could not find com.github.tinder.scarlet:scarlet-message-adapter-gson:0.2.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/tinder/scarlet/scarlet-message-adapter-gson/0.2.4/scarlet-message-adapter-gson-0.2.4.pom
- https://repo.maven.apache.org/maven2/com/github/tinder/scarlet/scarlet-message-adapter-gson/0.2.4/scarlet-message-adapter-gson-0.2.4.pom
- https://jitpack.io/com/github/tinder/scarlet/scarlet-message-adapter-gson/0.2.4/scarlet-message-adapter-gson-0.2.4.pom

Could not find com.github.tinder.scarlet:scarlet-protocol-websocket-okhttp:0.2.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/tinder/scarlet/scarlet-protocol-websocket-okhttp/0.2.4/scarlet-protocol-websocket-okhttp-0.2.4.pom
- https://repo.maven.apache.org/maven2/com/github/tinder/scarlet/scarlet-protocol-websocket-okhttp/0.2.4/scarlet-protocol-websocket-okhttp-0.2.4.pom
- https://jitpack.io/com/github/tinder/scarlet/scarlet-protocol-websocket-okhttp/0.2.4/scarlet-protocol-websocket-okhttp-0.2.4.pom

Could not find com.github.tinder.scarlet:scarlet-stream-adapter-coroutines:0.2.4.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/tinder/scarlet/scarlet-stream-adapter-coroutines/0.2.4/scarlet-stream-adapter-coroutines-0.2.4.pom
- https://repo.maven.apache.org/maven2/com/github/tinder/scarlet/scarlet-stream-adapter-coroutines/0.2.4/scarlet-stream-adapter-coroutines-0.2.4.pom
- https://jitpack.io/com/github/tinder/scarlet/scarlet-stream-adapter-coroutines/0.2.4/scarlet-stream-adapter-coroutines-0.2.4.pom

My settings.gradle.kts (or settings.gradle) configuration file looks like this (JitPack is added to both pluginManagement and dependencyResolutionManagement):

// settings.gradle

pluginManagement {
    repositories {
        google {
            content {
                includeGroupByRegex("com\\.android.*")
                includeGroupByRegex("com\\.google.*")
                includeGroupByRegex("androidx.*")
            }
        }
        mavenCentral()
        maven { setUrl("https://jitpack.io") }
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { setUrl("https://jitpack.io") }
    }
}

Could you help me with it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions