gradle build on our node returns errors related to pom file resolution. Could someone please help point how to resolve this? Do I need to download and store the pom files at a specific location on the node? or do they get downloaded automatically by gradle? I appreciate your help.
gradle build install -x test
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'converter'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21.
Required by:
project :
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21.
> Could not get resource 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Connect to 127.0.0.1:8118 [/127.0.0.1] failed: Connection refused (Connection refused)
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21.
> Could not get resource 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Could not GET 'https://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Connect to 127.0.0.1:8118 [/127.0.0.1] failed: Connection refused (Connection refused)
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.4.21.
> Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Could not GET 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin/1.4.21/kotlin-gradle-plugin-1.4.21.pom'.
> Connect to 127.0.0.1:8118 [/127.0.0.1] failed: Connection refused (Connection refused)
> Could not resolve com.netflix.nebula:gradle-ospackage-plugin:6.2.1.
Installed gradle and try to execute "gradle build install -x test"