Jump to content

Recommended Posts

Posted

I keep trying to build but i get this error Received status code 403 from server: Forbidden

 

Here is my log and configs please help me fix this

 

 

#################################################

        ForgeGradle 2.0-SNAPSHOT-30739b0

  https://github.com/MinecraftForge/ForgeGradle

#################################################

              Powered by MCP unknown

            http://modcoderpack.com

        by: Searge, ProfMobius, Fesh0r,

        R4wk, ZeuX, IngisKahn, bspkrs

#################################################

 

FAILURE: Build failed with an exception.

 

* What went wrong:

A problem occurred configuring root project 'MnM-Utils'.

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

  > Could not resolve com.mumfrey:liteloader:1.7.10_04.

    Required by:

        mnm.mods:MnM-Utils:1.2

      > Could not resolve com.mumfrey:liteloader:1.7.10_04.

        > Could not get resource 'https://libraries.minecraft.net/com/mumfrey/liteloader/1.7.10_04/liteloader-1.7.10_04.pom'.

            > Could not GET 'https://libraries.minecraft.net/com/mumfrey/liteloader/1.7.10_04/liteloader-1.7.10_04.pom'. Received status code 403 from server: Forbidden

 

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

 

 

and here are my configs

 

buildscript {

    repositories {

        mavenLocal()

        mavenCentral()

        jcenter()

        maven {

            name = "sonatype"

            url = "https://oss.sonatype.org/content/repositories/snapshots/"

        }

        maven {

            name = "forge"

            url = "http://files.minecraftforge.net/maven"

        }

        maven {

            name = 'sponge'

            url = 'http://repo.spongepowered.org/maven'

        }

    }

    dependencies {

        classpath 'net.minecraftforge.gradle:ForgeGradle:2.0-SNAPSHOT'

        classpath 'org.spongepowered:mixingradle:0.4-SNAPSHOT'

    }

}

 

apply plugin: 'net.minecraftforge.gradle.liteloader'

apply plugin: 'org.spongepowered.mixin'

 

group = "mnm.mods"

version = "1.2"

 

apply from: file('gradle/minecraft.gradle')

 

archivesBaseName = 'mnmutils'

ext.displayName = null

 

minecraft {

replace "@MCVERSION@", project.minecraft.version

replace "@VERSION@", project.version

}

 

mixin {

    defaultObfuscationEnv notch

}

 

//litemod.json {

// name = 'mnmutils'

// author = 'killjoy1221'

// description = 'A utility library mod used for my mods. Mostly GUI stuff.'

// revision = ext.gitRevision

//}

tasks.withType(Jar) {

baseName = "lib-${archivesBaseName.toLowerCase()}"

}

jar {

from litemod

}

task jarSrg(type:Jar) {

    from sourceSets.main.output

from litemod

    classifier "srg"

}

artifacts.archives jarSrg

 

tasks.findAll { 'make' in it.name }*.enabled = false

 

reobf {

jarSrg {

mappingType = 'SEARGE'

}

}

 

 

 

 

def doCmd(s) {

try {

s.execute(null, file('.')).text.trim()

} catch(e) {

[text:'null']

}

}

ext.gitRevision = doCmd('git rev-list --count HEAD')

ext.gitHash = doCmd('git rev-parse --short HEAD')

 

if (System.env.BUILD_ID != null)

version += "-SNAPSHOT-${gitRevision}"

 

targetCompatibility = 1.8

sourceCompatibility = 1.8

 

minecraft {

version = '1.7.10'

mappings = 'stable_12'

runDir = rootProject.file('run')

}

processResources {

def map = [

version:project.version,

mcversion:project.minecraft.version,

revision:(project.gitRevision == 'null' ? -1 : project.gitRevision)

]

def tokens = ['litemod.json']

 

// this will ensure that this task is redone when the versions change.

inputs.properties map

// replace stuff in mcmod.info, nothing else

from(sourceSets.main.resources.srcDirs) {

include tokens

// replace

expand map

}

 

// copy everything else, thats not the mcmod.info

from(sourceSets.main.resources.srcDirs) {

exclude tokens

}

}

afterEvaluate {

// remove the manifest after fg adds the TweakClass attribute

tasks.withType(Jar){

exclude 'dummyThing'

manifest {

attributes 'Implementation-Version': "$version (git $gitHash)"

}

}

}

evaluationDependsOnChildren()

 

Posted

1.7.10 is no longer supported.

 

Update.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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