Description
com.stephentuso:welcome
used to be hosted on jCenter. jCenter was recently sunsetted, and com.stephentuso:welcome
does not seem to be available on any other Maven repositories used by the Amaze build.
The mvnrepository listing says that https://repo.spring.io/libs-milestone/ and https://repo.spring.io/plugins-release/ host com.stephentuso:welcome
; however, adding these repositories to settings.gradle
does not help.
My settings.gradle
after I added the repositories listed on mvnrepository:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
maven { url "https://jitpack.io" }
maven { url "https://jcenter.bintray.com" }
maven { url "https://repo.spring.io/libs-milestone" } // added by me
maven { url "https://repo.spring.io/plugins-release" } // added by me
}
}
rootProject.name = "Amaze File Utilities"
include ':app'
I tried building Amaze File Utilities as follows, from the root of the Git repository:
./gradlew assemble
Excerpts from the build log:
> Task :app:compileFdroidDebugAidl
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Resource missing. [HTTP GET: https://dl.google.com/dl/android/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo.maven.apache.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://jitpack.io/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Resource missing. [HTTP GET: https://repo1.maven.org/maven2/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
Failed to get resource: GET. [HTTP HTTP/1.1 401 : https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom)]
* What went wrong:
Execution failed for task ':app:compileFdroidDebugAidl'.
> Could not resolve all files for configuration ':app:fdroidDebugCompileClasspath'.
> Could not resolve com.stephentuso:welcome:1.4.1.
Required by:
project :app
> Could not resolve com.stephentuso:welcome:1.4.1.
> Could not get resource 'https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'.
> Could not GET 'https://repo.spring.io/libs-milestone/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'. Received status code 401 from server:
> Could not resolve com.stephentuso:welcome:1.4.1.
> Could not get resource 'https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'.
> Could not GET 'https://repo.spring.io/plugins-release/com/stephentuso/welcome/1.4.1/welcome-1.4.1.pom'. Received status code 401 from server:
NOTE: I don't do a lot of Android app development, so I know very little about the SDK and build system. There could be something obvious that I'm missing here.