-
-
Save izzyaxel/1d83239abadfcddce71b00075dd0c963 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'java' | |
buildscript { | |
repositories { | |
jcenter() | |
maven { | |
name = "forge" | |
url = "http://files.minecraftforge.net/maven" | |
} | |
} | |
dependencies { | |
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT' | |
} | |
} | |
apply plugin: 'net.minecraftforge.gradle.forge' | |
version = "0.1.0" | |
group= "com.izzyaxel.chromatimancy" | |
archivesBaseName = "[1.10.2]Chromatimancy" | |
libsDirName = "/libs/" + version | |
minecraft { | |
version = "1.10.2-12.18.1.2011" | |
runDir = "eclipse" | |
mappings = "snapshot_20160518" | |
replaceIn 'chromatimancy/ChroReference.java' | |
replace '$VERSION$', version | |
} | |
dependencies { | |
compile files("libs/[1.10.2]Sapphire-0.5.0-dev.jar") | |
} | |
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 | |
} | |
} | |
idea { module { inheritOutputDirs = true } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment