-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
31 lines (31 loc) · 882 Bytes
/
settings.gradle
File metadata and controls
31 lines (31 loc) · 882 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
30
31
pluginManagement {
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'Jitpack'
url = 'https://maven.fallenbreath.me/jitpack'
}
mavenCentral()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
switch (requested.id.id) {
case 'com.replaymod.preprocess': {
useModule "com.github.Fallen-Breath:preprocessor:$requested.version"
break
}
}
}
}
}
file('versions').eachDir { final File dir ->
final String version = ":$dir.name"
include version
final ProjectDescriptor projectDescriptor = project version
projectDescriptor.projectDir = dir
projectDescriptor.buildFileName = '../../common.gradle'
}