-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
39 lines (33 loc) · 943 Bytes
/
build.gradle.kts
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
plugins {
id("hydraulic.build-logic")
}
val platforms = setOf(
projects.fabric,
projects.neoforge,
projects.shared
).map { it.dependencyProject }
subprojects {
when (this) {
in platforms -> plugins.apply("hydraulic.platform-conventions")
else -> plugins.apply("hydraulic.base-conventions")
}
}
allprojects {
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
repositories {
// mavenLocal()
mavenCentral()
maven("https://repo.opencollab.dev/main")
maven("https://jitpack.io") {
content {
includeGroupByRegex("com\\.github\\..*")
}
}
maven("https://maven.fabricmc.net/")
maven("https://maven.neoforged.net/releases")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
maven("https://oss.sonatype.org/content/repositories/snapshots/")
}
}