Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Error:
- ****************************************************************
- FAILURE: Build failed with and exception.
- * What went wrong:
- A problem occurred configuring root project 'MDK'.
- > Could not find CoFHCore.jar (cofh:CoFHCore:1.10.2-4.1.0.155).
- Searched in the following locations: http://maven.covers1624.net/cofh/CoFHCore/1.10.2-4.1.0.155/CoFHCore-1.10.2-4.1.0.155.jar
- My build.gradle
- ****************************************************************
- buildscript {
- repositories {
- jcenter()
- maven {
- name = "forge"
- url = "http://files.minecraftforge.net/maven"
- }
- }
- dependencies {
- classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
- }
- }
- repositories {
- maven {
- name 'DVS1 Maven FS'
- url 'http://dvs1.progwml6.com/files/maven'
- }
- maven {
- name = "ChickenBones Maven"
- url = "http://chickenbones.net/maven/"
- }
- maven {
- name = "Covers Maven"
- url = "http://maven.covers1624.net"
- }
- }
- apply plugin: 'net.minecraftforge.gradle.forge'
- //Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup.
- version = "1.0"
- group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
- archivesBaseName = "blujay"
- sourceCompatibility = targetCompatibility = "1.6" // Need this here so eclipse task generates correctly.
- compileJava {
- sourceCompatibility = targetCompatibility = "1.6"
- }
- minecraft {
- version = "1.10.2-12.18.3.2215"
- runDir = "run"
- // the mappings can be changed at any time, and must be in the following format.
- // snapshot_YYYYMMDD snapshot are built nightly.
- // stable_# stables are built at the discretion of the MCP team.
- // Use non-default mappings at your own risk. they may not allways work.
- // simply re-run your setup task after changing the mappings to update your workspace.
- mappings = "snapshot_20161111"
- // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable.
- }
- dependencies {
- deobfCompile "slimeknights.mantle:Mantle:1.10.2-1.1.4+"
- deobfCompile "slimeknights:TConstruct:1.10.2-2.6.3.500"
- deobfCompile "codechicken:CodeChickenLib:1.10.2-2.5.6.224"
- deobfCompile "cofh:CoFHCore:1.10.2-4.1.0.155+"
- deobfCompile "cofh:ThermalFoundation:1.10.2-2.0.3+"
- }
- 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'
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement