mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-13 21:54:02 +00:00
36 lines
941 B
Groovy
36 lines
941 B
Groovy
apply plugin: 'base'
|
|
|
|
ext.configFile = file "build.properties"
|
|
configFile.withReader {
|
|
// read config. it shall from now on be referenced as simply config or as project.config
|
|
def prop = new Properties()
|
|
prop.load(it)
|
|
project.ext.config = new ConfigSlurper().parse prop
|
|
}
|
|
buildscript {
|
|
repositories {
|
|
/*
|
|
maven {
|
|
name = "fmm"
|
|
url = "http://forgemavenmirror.sinaapp.com/maven"
|
|
}
|
|
*/
|
|
jcenter()
|
|
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:2.3-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
if(!project.name.toLowerCase().contains("forge"))
|
|
apply from: rootProject.file('common.gradle')
|
|
} |