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:


  • 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: 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…. > Could not GET '…;. > Connect to [] 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