Build failed
STEPS: to reproduce: just clone and try to build the repo ` FAILURE: Build failed with an exception.
-
Where: apicmp.gradle' line: 36
-
What went wrong: A problem occurred configuring project ':libraries:rib-android'.
Could not resolve all dependencies for configuration ':libraries:rib-android:detachedConfiguration3'. Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://artifactory.uber.internal:4587/artifactory/repo/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
- Try:
Run with --info or --debug option to get more log output. Run with --scan to get full insights.
CONFIGURE FAILED in 160ms ` USING
Android Studio Electric Eel | 2022.1.1 Patch 2
Build #AI-221.6008.13.2211.9619390, built on February 17, 2023
Runtime version: 11.0.15+0-b2043.56-8887301 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 10
Registry:
external.system.auto.import.disabled=true
ide.text.editor.with.preview.show.floating.toolbar=false
ide.instant.shutdown=false
What does your init.gradle say? (Typically located at ~/.gradle/init.gradle)
One may need to add a allowInsecureProtocol = true to that file
What does your
init.gradlesay? (Typically located at~/.gradle/init.gradle)One may need to add a
allowInsecureProtocol = trueto that file
That file shouldn't exist anymore. Our internal repo deletes it on Buck Project and adds a notouch file to prevent Chef from readding it.
@tyvsmith any solution ?