Gradle cannot connect/cannot run clean builds

Started by dragosakilos on Sat, 01/21/2017 - 14:15

Topic category: Help with MCreator's application

Last seen on 04:11, 17. Dec 2017
Joined Jan 2016
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Gradle cannot connect/cannot run clean builds
Sat, 01/21/2017 - 14:24 (edited)

 So i've been having this probelm for a week in which everytime I try to start a minecraft test enviroment it says "​Gradle couldn't connect to the internet​" even though im connected to my wifi. Te program is unusable because it keeps showing this error message (version 1.7.1). This version is broken as i've seen.    ​                                                      

this is all that shows after the annoying error for running a clean build and testenviroment.

 

Executing gradle command: clean build Microsoft Windows [Version 10.0.14393] (c) 2016 Microsoft Corporation. All rights reserved. C:\Pylo\MCreator171>cd forge C:\Pylo\MCreator171\forge>SET "JAVA_HOME=C:\Pylo\MCreator171\jdk64\" C:\Pylo\MCreator171\forge>SET JAVA_EXE=%JAVA_HOME%\bin\java.exe C:\Pylo\MCreator171\forge>SET PATH=%JAVA_HOME%\bin\;%PATH% C:\Pylo\MCreator171\forge>gradlew -Dorg.gradle.jvmargs="-Xms625m -Xmx2048m" clean build To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'forge'. > Could not resolve all dependencies for configuration ':classpath'. > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT.      Required by:          :forge:unspecified > Could not resolve net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT. > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…. > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGr…;. > Connect to files.minecraftforge.net:80 [files.minecraftforge.net/158.69.55.219] failed: Connection timed out: connect * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 55.762 secs C:\Pylo\MCreator171\forge> Task completed with return code 0 in 57000 milliseconds

Edited by dragosakilos on Sat, 01/21/2017 - 14:24