Hi I have recently started using gradlew for bui...
# community-support
s
Hi I have recently started using gradlew for build on IntelliJ. During compiling it comes up with an error. I type at the command ‘./gradlew build’ after few sexless I get the below message. All the settings seems to correct and all the correct Java is running. ====================================== * What went wrong: Execution failed for task ':compileJava'.
Failed to notify dependency resolution listener.
> Could not resolve all dependencies for configuration ':detachedConfiguration1'. > Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'nexus(http://159.65.23.158:8081/repository/maven-snapshots/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.0/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. > Could not resolve all dependencies for configuration ':detachedConfiguration2'. > Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'nexus(http://159.65.23.158:8081/repository/maven-snapshots/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.0/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
🧵 1