-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle
More file actions
37 lines (32 loc) · 924 Bytes
/
Copy pathsettings.gradle
File metadata and controls
37 lines (32 loc) · 924 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
32
33
34
35
36
37
pluginManagement {
def replaymodPreprocessVersion = "221276c7d4"
repositories {
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
maven {
name = 'JitPack'
url = 'https://jitpack.io'
}
mavenCentral()
gradlePluginPortal()
}
resolutionStrategy {
eachPlugin {
if (requested.id.id == "com.replaymod.preprocess") {
def resolvedVersion = requested.version ?: replaymodPreprocessVersion
useModule("com.github.ReplayMod:preprocessor:${resolvedVersion}")
}
}
}
}
rootProject.buildFileName = "root.gradle"
var versions = [
"26.1"
]
versions.forEach { version ->
include(":${version}")
project(":${version}").projectDir = file("versions/${version}")
project(":${version}").buildFileName = "../../build.gradle"
}