Jump to content

Recommended Posts

Posted

thats my build.gradle

 

buildscript {

    repositories {

        jcenter()

        maven {

            name = "forge"

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

        }

    }

    dependencies {

       

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

    }

}

 

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

 

version = "1.0"

group = "com.yourname.modid"

archivesBaseName = "modid"

 

minecraft {

    version = "1.8.9-11.15.1.2318-1.8.9"

    runDir = "run"

    mappings = "stable_20"

}

 

dependencies {

 

}

 

processResources {

    inputs.property "version", project.version

    inputs.property "mcversion", project.minecraft.version

 

    from(sourceSets.main.resources.srcDirs) {

        include 'mcmod.info'

        expand 'version': project.version, 'mcversion': project.minecraft.version

    }

 

    from(sourceSets.main.resources.srcDirs) {

        exclude 'mcmod.info'

    }

}

i want to use vs coqde qanqd when i try running "gradle wrapper --gradle-version 2.7" in the terminqal i keep getting 

"* What went wrong:
A problem occurred evaluating root project 'sb mod'.
> Failed to apply plugin 'net.minecraftforge.gradle.forge'.
   > Configuration with name 'compile' not found."

qas error qanqd since theres no "compile" in the build file i dont rlly know what im doing wrong

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.