-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
62 lines (50 loc) · 1.67 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import semele.quinn.expandedstorage.plugin.Versions
import semele.quinn.expandedstorage.plugin.dependency.FreezableDependencyList
plugins {
id("expandedstorage-generic")
id("expandedstorage-thread-dependencies")
id("expandedstorage-thread-dependent")
id("expandedstorage-release-project")
}
loom {
accessWidenerPath = project(":common").loom.accessWidenerPath
}
val modDependencies = FreezableDependencyList().apply {
from(project(":thread").extra["mod_dependencies"])
add("inventory-profiles-next") {
implementation("org.quiltmc.quilt-kotlin-libraries:quilt-kotlin-libraries:${Versions.QUILT_KOTLIN}")
}
freeze()
}
repositories {
maven {
name = "Quilt Release Maven"
url = uri("https://maven.quiltmc.org/repository/release")
content {
includeGroupByRegex("org\\.quiltmc(\\.[a-z_-]+)*")
}
}
maven {
name = "Quilt Snapshot Maven"
url = uri("https://maven.quiltmc.org/repository/snapshot")
content {
includeGroupByRegex("org\\.quiltmc(\\.[a-z_-]+)*")
}
}
}
dependencies {
modImplementation("org.quiltmc:quilt-loader:${Versions.QUILT_LOADER}")
modImplementation("org.quiltmc.quilted-fabric-api:quilted-fabric-api:${Versions.QUILT_API}")
modDependencies.compileDependencies(project).forEach {
modCompileOnly(it) {
exclude(group = "net.fabricmc")
exclude(group = "net.fabricmc.fabric-api")
}
}
modDependencies.runtimeDependencies(project).forEach {
modRuntimeOnly(it) {
exclude(group = "net.fabricmc")
exclude(group = "net.fabricmc.fabric-api")
}
}
}