Jump to content

[Fixed] All Gradle operations failing - Could not find com.mojang:authlib:1.5.16


Recommended Posts

Not 100% sure what's wrong where, but no matter what gradlew operations I'm trying this morning, they are all failing:-

 

 

035:LetsModReboot pmuk$ ./gradlew clean --info

Starting Build

Settings evaluated using empty settings script.

Projects loaded. Root project using build file '/Users/pmuk/development/Minecraft Mods/1.7/LetsModReboot/build.gradle'.

Included projects: [root project 'LetsModReboot']

Evaluating root project 'LetsModReboot' using build file '/Users/pmuk/development/Minecraft Mods/1.7/LetsModReboot/build.gradle'.

Resource missing. [HTTP GET: http://repo1.maven.org/maven2/com/mojang/authlib/1.5.16/authlib-1.5.16.pom]

Resource missing. [HTTP HEAD: http://repo1.maven.org/maven2/com/mojang/authlib/1.5.16/authlib-1.5.16.jar]

Resource missing. [HTTP GET: http://files.minecraftforge.net/maven/com/mojang/authlib/1.5.16/authlib-1.5.16.pom]

Resource missing. [HTTP HEAD: http://files.minecraftforge.net/maven/com/mojang/authlib/1.5.16/authlib-1.5.16.jar]

Resource missing. [HTTP GET: https://oss.sonatype.org/content/repositories/snapshots/com/mojang/authlib/1.5.16/authlib-1.5.16.pom]

Resource missing. [HTTP HEAD: https://oss.sonatype.org/content/repositories/snapshots/com/mojang/authlib/1.5.16/authlib-1.5.16.jar]

                                                                               

FAILURE: Build failed with an exception.

                           

* What went wrong:         

A problem occurred configuring root project 'LetsModReboot'.

> Could not resolve all dependencies for configuration ':classpath'.

  > Could not find com.mojang:authlib:1.5.16.

    Required by:         

        :LetsModReboot:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT

                           

* Try:                     

Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

                           

BUILD FAILED               

                           

Total time: 8.723 secs

 

 

Something wrong at my end, or is it (as it naively appears to be) a file missing on the 'forge servers?

 

(Apologies if this is in the wrong place, but the ForgeGradle thread says post support here...)

Link to comment
Share on other sites

I get a little of a different error, where this is all it says:

 

NO STACKTRACE:

 

C:\Users\Kyle\Desktop\MODDING 1.6.4-1.7.10\1.7.2>gradlew

 

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring root project '1.7.2'.

> Could not resolve all dependencies for configuration ':classpath'.

  > Could not find com.mojang:authlib:1.5.16.

    Required by:

        :1.7.2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT

 

 

* 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: 3.586 secs

 

 

And, no, it's not me. I did try it with refresh dependencies and gradlew.bat setupDecompWorkspace

 

WITH STACKTRACE (gradlew.bat setupDecompWorkspace):

 

 

gradlew setupDecompWorkspace --stacktrace

 

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring root project '1.7.2'.

> Could not resolve all dependencies for configuration ':classpath'.

  > Could not find com.mojang:authlib:1.5.16.

    Required by:

        :1.7.2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT

 

 

* 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 '1.7.2'.

        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:493)

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

ect.java:80)

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

dConfigurer.java:31)

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

GradleLauncher.java:142)

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

Launcher.java:113)

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

cher.java:81)

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

troller.run(InProcessBuildActionExecuter.java:64)

        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:35)

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

ssBuildActionExecuter.java:26)

        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:201)

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

execute(CommandLineActionFactory.java:174)

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

CommandLineActionFactory.java:170)

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

CommandLineActionFactory.java:139)

        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:46)

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

        at org.gradle.launcher.Main.main(Main.java:37)

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

trap.java:50)

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

ava:32)

        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:55)

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:465)

        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:127)

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

riptProcessor.java:40)

        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)

        ... 28 more

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

eption: Could not find com.mojang:authlib:1.5.16.

Required by:

    :1.7.2:unspecified > net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT

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

yToModuleResolver$StaticVersionResolveResult.notFound(LazyDependencyToModuleReso

lver.java:132)

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

yToModuleResolver$AbstractVersionResolveResult.resolve(LazyDependencyToModuleRes

olver.java:74)

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

GraphBuilder$ModuleVersionResolveState.resolve(DependencyGraphBuilder.java:655)

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

GraphBuilder$ModuleVersionResolveState.getMetaData(DependencyGraphBuilder.java:6

66)

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

GraphBuilder$DependencyEdge.calculateTargetConfigurations(DependencyGraphBuilder

.java:340)

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

GraphBuilder$DependencyEdge.attachToTargetConfigurations(DependencyGraphBuilder.

java:314)

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

GraphBuilder.traverseGraph(DependencyGraphBuilder.java:130)

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

GraphBuilder.resolve(DependencyGraphBuilder.java:70)

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

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

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

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

        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:82)

        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:193)

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

er.useCache(DefaultCacheLockingManager.java:65)

        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:463)

        ... 35 more

 

 

BUILD FAILED

 

Total time: 3.652 secs

 

 

Thanks for taking a look, also, what forge are you using? 1.6.4, 1.7.2, or 1.7.10?

Link to comment
Share on other sites

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.