Jump to content

Recommended Posts

Posted (edited)

This is an error

Quote
E:\modWorkSpace>gradlew build

FAILURE: Build failed with an exception.

* Where:
Build file 'E:\modWorkSpace\build.gradle' line: 20

* What went wrong:
A problem occurred evaluating root project 'modWorkSpace'.
> java.io.EOFException: End of input at line 6322 column 27

* 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 mins 50.297 secs

 

 

this is build.gradlew

Quote

buildscript {
    repositories {
        mavenCentral()
        maven {
            name = "forge"
            url = "http://files.minecraftforge.net/maven"
        }
        maven {
            name = "sonatype"
            url = "https://oss.sonatype.org/content/repositories/snapshots/"
        }
    }
    dependencies {
        classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
    }
}

 

 

//This is the wrong point

apply plugin: 'forge'

 

 

version = "r7"
group= "flammpfeil.slashblade.exsa"
archivesBaseName = "SlashBlade-ExSa"

minecraft {
    version = "1.7.10-10.13.4.1614-1.7.10"
    runDir = "run"
}

dependencies {
    compile fileTree(dir: 'libs', include: '*.jar')
}

processResources
{
    // this will ensure that this task is redone when the versions change.
    inputs.property "version", project.version
    inputs.property "mcversion", project.minecraft.version

    // replace stuff in mcmod.info, nothing else
    from(sourceSets.main.resources.srcDirs) {
        include 'mcmod.info'
                
        // replace version and mcversion
        expand 'version':project.version, 'mcversion':project.minecraft.version
    }
        
    // copy everything else, thats not the mcmod.info
    from(sourceSets.main.resources.srcDirs) {
        exclude 'mcmod.info'
    }
}

 

Which is not connected to the maven library for forge???

My environment configuration is definitely no problem.

A few days ago suddenly can not compile.

Edited by qweyouke
Posted
22 hours ago, qweyouke said:

 Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Try doing that.

Apparently I'm addicted to these forums and can't help but read all the posts. So if I somehow help you, please click the "Like This" button, it helps.

Posted

 

minecraft {
    version = "1.7.10-10.13.4.1614-1.7.10"
    runDir = "run"
}

1.7.10 is no longer supported on this forum.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

  • Guest locked this topic
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.