Skip to content

Can't use this repository from gradle (maven) since some time ago. #10

@DavidPDev

Description

@DavidPDev

Hi, I was using the LicenseCheck on my apps using this line in the build.gradle file:

implementation 'com.github.google:play-licensing:-SNAPSHOT'

Since some days ago I always get the same errors:

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':android:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':android:debugRuntimeClasspath'.
   > Could not find com.github.google:play-licensing:-SNAPSHOT.
     Searched in the following locations:
       - file:/C:/Users/****/.m2/repository/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - file:/C:/Users/****/.m2/repository/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://repo.maven.apache.org/maven2/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://repo.maven.apache.org/maven2/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://dl.google.com/dl/android/maven2/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://dl.google.com/dl/android/maven2/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://plugins.gradle.org/m2/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://plugins.gradle.org/m2/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/snapshots/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/snapshots/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://oss.sonatype.org/content/repositories/releases/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://oss.sonatype.org/content/repositories/releases/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://maven.google.com/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://maven.google.com/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
       - https://jitpack.io/com/github/google/play-licensing/-SNAPSHOT/maven-metadata.xml
       - https://jitpack.io/com/github/google/play-licensing/-SNAPSHOT/play-licensing--SNAPSHOT.pom
     Required by:
         project :android

I would prefer not having to download the project manually and add srcs and aidls as we have several projects that use it.
Thank you in advance.

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