mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-14 04:59:48 +00:00
27 lines
703 B
Groovy
27 lines
703 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 {
|
|
mavenCentral()
|
|
jcenter()
|
|
maven {
|
|
name = "forge"
|
|
url = "http://files.minecraftforge.net/maven"
|
|
}
|
|
}
|
|
dependencies {
|
|
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
if (!project.name.toLowerCase().contains("forge"))
|
|
apply from: rootProject.file('common.gradle')
|
|
} |