Hi, I'm really new to this modding thing, just spent the last 15 days coding and texturing my mod and now for some reason I'm not able to build it (Whenever I find a way to build it, it shows no textures or models) Here's my error and my build file, is there anything else I should post? Let me know, thanks!
Error:
C:\Users\Victor\Desktop\TheMod\AurorasBloom>gradlew build--debug
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Victor\Desktop\TheMod\AurorasBloom\build.gradle' line: 43
* What went wrong:
A problem occurred evaluating root project 'AurorasBloom'.
> Cannot convert URL 'C:Users.Victor.Desktop.TheMod.AurorasBloom.src.main.resour
ces' to a file.
* 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: 6.173 secs
Build File:
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'
}
}
apply plugin: 'forge'
version = "1.0"
group= "Ygniculus.AurorasBloom"
archivesBaseName = "ab"
sourceSets {
main {
java { srcDirs = ["C:Users.Victor.Desktop.TheMod.AurorasBloom.src.main.resources] }
resources { srcDirs = ["C:Users.Victor.Desktop.TheMod.AurorasBloom.src.main.resources"] }
}
}
minecraft {
version = "1.8-11.14.3.1450"
runDir = "eclipse"
}
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'
}
}
I really wish I could get this to work, it was alot, ALOT of time spent =/ Thanks in advance, I've been searching the answer on the foruns for the past 4h and can't get it to work, sorry if I did anything wrong.