Posted February 22, 201411 yr I just ran gradle with this build.gradle: Reveal hidden contents 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.1-SNAPSHOT' } } apply plugin: 'forge' version = "1.7.2-1.0" group= "com.darkfangsmod.darkfangsblocks" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "darkfangsmod" minecraft { version = "1.7.2-10.12.0.1024" assetDir = "eclipse/assets" } processResources { // 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' } } and it worked fine. However, I want it to also export the assets, which are in the package assets.darkfangsmod.textures and assets.darkfangsmod.language, like they have to be. How can I get these to export into the right place for use outside of the development environment?
February 23, 201411 yr That's what the resources folder is for. Put them in there. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.