forked from ValkyrienSkies/Clockwork
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
44 lines (39 loc) · 1.16 KB
/
settings.gradle.kts
File metadata and controls
44 lines (39 loc) · 1.16 KB
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
38
39
40
41
42
43
44
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://maven.fabricmc.net/") {
name = "Fabric"
}
maven("https://repo.spongepowered.org/repository/maven-public/") {
name = "Sponge Snapshots"
}
maven("https://maven.minecraftforge.net") {
name = "Forge"
}
maven("https://maven.architectury.dev/") {
name = "Architectury"
}
}
resolutionStrategy {
eachPlugin {
// If we request Forge, actually give it the correct artifact.
if (requested.id.id == "net.minecraftforge.gradle") {
useModule("${requested.id}:ForgeGradle:${requested.version}")
}
}
}
}
include("common")
include("forge")
include("fabric")
//include("api")
//include("impl")
try {
val kelvin = file("Kelvin")
if (kelvin.isDirectory) {
//ts is evil as hell, but we have to do it because of an intellij bug :(
includeBuild(kelvin.toPath().toRealPath().toAbsolutePath().toString())
}
} catch (ignore: SecurityException) {}
rootProject.name = "vs-clockwork-mod"