Maybe it's my lack of build system knowledge.
Edit: I should also mentioned that it's building just fine now, just the runClient task is showing this issue
I changed the following to build.gradle:
I added
repositories {
flatDir name: 'libs', dirs: 'libs'
}
And in dependencies I added
compile fg.deobf(name: 'budgit-1.15.2-0.1')
Full build gradle of the target:
build.gradle
Edit: Solved, if you find this:
Ensure that in the source project, jar.finalizedBy is commented out, delay that step as seen below.
// Example configuration to allow publishing using the maven-publish task
// This is the preferred method to reobfuscate your jar file
//jar.finalizedBy('reobfJar')
// However if you are in a multi-project build, dev time needs unobfed jar files, so you can delay the obfuscation until publishing by doing
publish.dependsOn('reobfJar')
Then build via the jar task, not the build task.
Copy your jar into the repository, in my case the libs folder of the targets root directory.
Follow the rest of the configuration and it will work fine.