Jump to content

gradlew setupDecompWorkspace --refresh-dependencies doesnt work


xM0nsterFr3ak

Recommended Posts

Every time i try

gradlew setupDecompWorkspace --refresh-dependencies

i get following Error :

 

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:1.2-SNAPSHOT.

    Required by:

        :Forge:unspecified

      > Unable to load Maven meta-data from http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.'>http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.

        > Could not GET 'http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.'>http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.

            > Connection reset

      > Unable to load Maven meta-data from http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.'>http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.

        > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.'>http://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.

            > Connection reset

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

i searched everywhere and didnt found anything that helped me... if somebody knows how to fix this Error pls post it.  :)

 

here i tried with --stacktrace

 

 

 

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:1.2-SNAPSHOT.

    Required by:

        :Forge:unspecified

      > Unable to load Maven meta-data from http://repo1.maven.org/maven2/net/mi

necraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.

        > Could not GET 'http://repo1.maven.org/maven2/net/minecraftforge/gradl

e/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.

            > Connection reset

      > Unable to load Maven meta-data from http://files.minecraftforge.net/mave

n/net/minecraftforge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml.

        > Could not GET 'http://files.minecraftforge.net/maven/net/minecraftfor

ge/gradle/ForgeGradle/1.2-SNAPSHOT/maven-metadata.xml'.

            > Connection reset

 

* Try:

Run with --info or --debug option to get more log output.

 

* Exception is:

org.gradle.api.ProjectConfigurationException: A problem occurred configuring roo

t project 'Forge'.

        at org.gradle.configuration.project.LifecycleProjectEvaluator.addConfigu

rationFailure(LifecycleProjectEvaluator.java:79)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(L

ifecycleProjectEvaluator.java:57)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj

ect.java:470)

        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProj

ect.java:79)

        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuil

dConfigurer.java:31)

        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(Default

GradleLauncher.java:128)

        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradle

Launcher.java:105)

        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLaun

cher.java:85)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildCon

troller.run(InProcessBuildActionExecuter.java:81)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:33)

        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.jav

a:24)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:39)

        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProce

ssBuildActionExecuter.java:29)

        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)

        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.jav

a:171)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:237)

        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.

execute(CommandLineActionFactory.java:210)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

meValidationAction.java:35)

        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRunti

meValidationAction.java:24)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:206)

        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(

CommandLineActionFactory.java:169)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:33)

        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionRep

ortingAction.java:22)

        at org.gradle.launcher.Main.doAction(Main.java:33)

        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBoots

trap.java:54)

        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.j

ava:35)

        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)

        at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.ja

va:30)

        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)

        at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56)

Caused by: org.gradle.api.artifacts.ResolveException: Could not resolve all depe

ndencies for configuration ':classpath'.

        at org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfigurat

ion.rethrowFailure(DefaultLenientConfiguration.java:52)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultResolvedConfigura

tion.rethrowFailure(DefaultResolvedConfiguration.java:36)

        at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyR

esolver$FilesAggregatingResolvedConfiguration.rethrowFailure(SelfResolvingDepend

encyResolver.java:110)

        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingArtifactDep

endencyResolver$ErrorHandlingResolvedConfiguration.rethrowFailure(ErrorHandlingA

rtifactDependencyResolver.java:180)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:428)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

.getFiles(DefaultConfiguration.java:202)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

_Decorated.getFiles(Unknown Source)

        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.

apply(DefaultScriptPluginFactory.java:136)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildSc

riptProcessor.java:39)

        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildSc

riptProcessor.java:26)

        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.eva

luate(ConfigureActionsProjectEvaluator.java:34)

        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(L

ifecycleProjectEvaluator.java:55)

        ... 29 more

Caused by: org.gradle.api.internal.artifacts.ivyservice.ModuleVersionResolveExce

ption: Could not resolve net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT.

Required by:

    :Forge:unspecified

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver.resolve(RepositoryChainDependencyResolver.java:77)

        at org.gradle.api.internal.artifacts.ivyservice.clientmodule.ClientModul

eResolver.resolve(ClientModuleResolver.java:45)

        at org.gradle.api.internal.artifacts.ivyservice.projectmodule.ProjectDep

endencyResolver.resolve(ProjectDependencyResolver.java:49)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.LazyDependenc

yToModuleResolver$AbstractVersionResolveResult.resolve(LazyDependencyToModuleRes

olver.java:69)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java

:543)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.

java:554)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphB

uilder.java:255)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBu

ilder.java:229)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder.traverseGraph(DependencyGraphBuilder.java:142)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder.resolveDependencyGraph(DependencyGraphBuilder.java:82)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.graph.Depe

ndencyGraphBuilder.resolve(DependencyGraphBuilder.java:74)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep

endencyResolver$1.execute(DefaultDependencyResolver.java:120)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep

endencyResolver$1.execute(DefaultDependencyResolver.java:86)

        at org.gradle.internal.Transformers$3.transform(Transformers.java:131)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager

.withIvy(DefaultIvyContextManager.java:61)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultIvyContextManager

.withIvy(DefaultIvyContextManager.java:39)

        at org.gradle.api.internal.artifacts.ivyservice.resolveengine.DefaultDep

endencyResolver.resolve(DefaultDependencyResolver.java:86)

        at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDepe

ndencyResolver$1.run(CacheLockingArtifactDependencyResolver.java:42)

        at org.gradle.internal.Factories$1.create(Factories.java:22)

        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc

ess.java:187)

        at org.gradle.cache.internal.DefaultCacheAccess.useCache(DefaultCacheAcc

ess.java:175)

        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.useCache(De

faultPersistentDirectoryStore.java:106)

        at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.

useCache(DefaultCacheFactory.java:187)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManag

er.useCache(DefaultCacheLockingManager.java:63)

        at org.gradle.api.internal.artifacts.ivyservice.CacheLockingArtifactDepe

ndencyResolver.resolve(CacheLockingArtifactDependencyResolver.java:40)

        at org.gradle.api.internal.artifacts.ivyservice.SelfResolvingDependencyR

esolver.resolve(SelfResolvingDependencyResolver.java:45)

        at org.gradle.api.internal.artifacts.ivyservice.ShortcircuitEmptyConfigs

ArtifactDependencyResolver.resolve(ShortcircuitEmptyConfigsArtifactDependencyRes

olver.java:55)

        at org.gradle.api.internal.artifacts.ivyservice.ErrorHandlingArtifactDep

endencyResolver.resolve(ErrorHandlingArtifactDependencyResolver.java:47)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultConfigurationReso

lver.resolve(DefaultConfigurationResolver.java:46)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

.resolveNow(DefaultConfiguration.java:240)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

.getResolvedConfiguration(DefaultConfiguration.java:230)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

_Decorated.getResolvedConfiguration(Unknown Source)

        at org.gradle.api.internal.artifacts.configurations.DefaultConfiguration

$ConfigurationFileCollection.getFiles(DefaultConfiguration.java:426)

        ... 36 more

Caused by: org.gradle.internal.resource.ResourceException: Unable to load Maven

meta-data from http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGrad

le/1.2-SNAPSHOT/maven-metadata.xml.

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenMetadata

Loader.load(MavenMetadataLoader.java:51)

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver

.parseMavenMetadata(MavenResolver.java:153)

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver

.findUniqueSnapshotVersion(MavenResolver.java:141)

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenResolver

.doResolveComponentMetaData(MavenResolver.java:69)

        at org.gradle.api.internal.artifacts.repositories.resolver.ExternalResou

rceResolver$RemoteRepositoryAccess.resolveComponentMetaData(ExternalResourceReso

lver.java:396)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockRele

asingModuleComponentsRepository$LockReleasingRepositoryAccess$2.run(CacheLockRel

easingModuleComponentsRepository.java:63)

        at org.gradle.internal.Factories$1.create(Factories.java:22)

        at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def

aultCacheAccess.java:237)

        at org.gradle.cache.internal.DefaultCacheAccess.longRunningOperation(Def

aultCacheAccess.java:308)

        at org.gradle.cache.internal.DefaultPersistentDirectoryStore.longRunning

Operation(DefaultPersistentDirectoryStore.java:114)

        at org.gradle.cache.internal.DefaultCacheFactory$ReferenceTrackingCache.

longRunningOperation(DefaultCacheFactory.java:179)

        at org.gradle.api.internal.artifacts.ivyservice.DefaultCacheLockingManag

er.longRunningOperation(DefaultCacheLockingManager.java:55)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CacheLockRele

asingModuleComponentsRepository$LockReleasingRepositoryAccess.resolveComponentMe

taData(CacheLockReleasingModuleComponentsRepository.java:61)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.CachingModule

ComponentRepository$ResolveAndCacheRepositoryAccess.resolveComponentMetaData(Cac

hingModuleComponentRepository.java:282)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.BaseModuleCom

ponentRepositoryAccess.resolveComponentMetaData(BaseModuleComponentRepositoryAcc

ess.java:37)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMe

moryCachedModuleComponentRepository$CachedAccess.resolveComponentMetaData(InMemo

ryCachedModuleComponentRepository.java:67)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver$StaticVersionRepositoryResolveState.process(RepositoryChain

DependencyResolver.java:205)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver$RepositoryResolveState.resolve(RepositoryChainDependencyRes

olver.java:180)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver.findLatestModule(RepositoryChainDependencyResolver.java:121

)

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver.findLatestModule(RepositoryChainDependencyResolver.java:97)

 

        at org.gradle.api.internal.artifacts.ivyservice.ivyresolve.RepositoryCha

inDependencyResolver.resolve(RepositoryChainDependencyResolver.java:66)

        ... 68 more

Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Cou

ld not GET 'http://repo1.maven.org/maven2/net/minecraftforge/gradle/ForgeGradle/

1.2-SNAPSHOT/maven-metadata.xml'.

        at org.gradle.internal.resource.transport.http.HttpClientHelper.performR

equest(HttpClientHelper.java:80)

        at org.gradle.internal.resource.transport.http.HttpClientHelper.performR

awGet(HttpClientHelper.java:66)

        at org.gradle.internal.resource.transport.http.HttpClientHelper.performG

et(HttpClientHelper.java:70)

        at org.gradle.internal.resource.transport.http.HttpResourceAccessor.getR

esource(HttpResourceAccessor.java:53)

        at org.gradle.internal.resource.transport.http.HttpResourceAccessor.getR

esource(HttpResourceAccessor.java:36)

        at org.gradle.internal.resource.transport.DefaultExternalResourceReposit

ory.getResource(DefaultExternalResourceRepository.java:56)

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenMetadata

Loader.parseMavenMetadataInfo(MavenMetadataLoader.java:57)

        at org.gradle.api.internal.artifacts.repositories.resolver.MavenMetadata

Loader.load(MavenMetadataLoader.java:47)

        ... 88 more

Caused by: java.net.SocketException: Connection reset

        at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(Abstrac

tSessionInputBuffer.java:166)

        at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffe

r.java:90)

        at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractS

essionInputBuffer.java:281)

        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(Default

HttpResponseParser.java:92)

        at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(Default

HttpResponseParser.java:62)

        at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessagePa

rser.java:254)

        at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHead

er(AbstractHttpClientConnection.java:289)

        at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHead

er(DefaultClientConnection.java:252)

        at org.apache.http.impl.conn.ManagedClientConnectionImpl.receiveResponse

Header(ManagedClientConnectionImpl.java:191)

        at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRe

questExecutor.java:300)

        at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecu

tor.java:127)

        at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(Default

RequestDirector.java:712)

        at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultReq

uestDirector.java:517)

        at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpCl

ient.java:906)

        at org.apache.http.impl.client.DecompressingHttpClient.execute(Decompres

singHttpClient.java:137)

        at org.apache.http.impl.client.DecompressingHttpClient.execute(Decompres

singHttpClient.java:118)

        at org.gradle.internal.resource.transport.http.HttpClientHelper.performH

ttpRequest(HttpClientHelper.java:111)

        at org.gradle.internal.resource.transport.http.HttpClientHelper.executeG

etOrHead(HttpClientHelper.java:87)

        at org.gradle.internal.resource.transport.http.HttpClientHelper.performR

equest(HttpClientHelper.java:78)

        ... 95 more

 

 

BUILD FAILED

 

 

 

 

 

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.