forked from gnembon/carpetmod
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathsettings.gradle
More file actions
29 lines (23 loc) · 860 Bytes
/
settings.gradle
File metadata and controls
29 lines (23 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
pluginManagement {
repositories {
maven { url = 'https://maven.fallenbreath.me/tiscm13' }
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case "me.fallenbreath.yamlang":
useModule("com.github.Fallen-Breath:yamlang:${requested.version}")
break
}
}
}
}
import groovy.json.JsonSlurper
def settings = new JsonSlurper().parseText(file('conf/settings.json').text)
rootProject.name = settings.modname.substring(0, 1).toUpperCase(Locale.ENGLISH) + settings.modname.substring(1)
include ':mcp'
include ':clean'
include ':' + settings.modname
project(':mcp').projectDir = file('projects/mcp')
project(':clean').projectDir = file('projects/clean')
project(':' + settings.modname).projectDir = file('projects/' + settings.modname)