-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
113 lines (90 loc) · 3.67 KB
/
build.gradle
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
plugins {
id 'com.github.johnrengelman.shadow'
}
architectury {
platformSetupLoomIde()
fabric()
}
loom {
accessWidenerPath = project(":common").loom.accessWidenerPath
}
configurations {
common {
canBeResolved = true
canBeConsumed = false
}
compileClasspath.extendsFrom common
runtimeClasspath.extendsFrom common
developmentFabric.extendsFrom common
// Files in this configuration will be bundled into your mod using the Shadow plugin.
// Don't use the `shadow` configuration from the plugin itself as it's meant for excluding files.
shadowBundle {
canBeResolved = true
canBeConsumed = false
}
}
dependencies {
include(implementation(annotationProcessor("com.github.bawnorton.mixinsquared:mixinsquared-fabric:0.2.0")))
modImplementation "net.fabricmc:fabric-loader:$rootProject.fabric_loader_version"
modImplementation "net.fabricmc.fabric-api:fabric-api:$rootProject.fabric_api_version"
common(project(path: ':common', configuration: 'namedElements')) { transitive false }
shadowBundle project(path: ':common', configuration: 'transformProductionFabric')
if (rootProject.vanilla == 'true') {
return
}
/* APIs */
modLocalRuntime 'maven.modrinth:architectury-api:9.2.14+fabric'
modLocalRuntime("me.shedaniel.cloth:cloth-config-fabric:11.1.136") {
exclude(group: "net.fabricmc.fabric-api")
}
modLocalRuntime 'maven.modrinth:owo-lib:0.11.2+1.20'
modLocalRuntime 'maven.modrinth:modmenu:7.2.2'
/* Performance */
modLocalRuntime "maven.modrinth:spark:1.10.53-fabric"
modLocalRuntime "maven.modrinth:sodium:mc1.20.1-0.5.11"
modLocalRuntime 'maven.modrinth:starlight:1.1.2+1.20'
modLocalRuntime 'maven.modrinth:iris:1.7.5+1.20.1'
localRuntime "org.antlr:antlr4-runtime:4.13.1"
localRuntime "io.github.douira:glsl-transformer:2.0.1"
localRuntime "org.anarres:jcpp:1.4.14"
modLocalRuntime "maven.modrinth:indium:1.0.34+mc1.20.1"
modLocalRuntime 'maven.modrinth:iris-flw-compat:1.1.4'
/* Valkyrien Skies */
modLocalRuntime "net.fabricmc:fabric-language-kotlin:1.13.1+kotlin.2.1.10"
modLocalRuntime "maven.modrinth:valkyrien-skies:1.20.1-fabric-2.3.0-beta.5"
modLocalRuntime 'maven.modrinth:eureka:1.20.1-fabric-1.5.1-beta.3'
/* Particle Rain/Pretty Rain */
modLocalRuntime "maven.modrinth:particle-rain:3.0.6-1.20"
/* Mmmmmmmmmmmm */
modLocalRuntime 'maven.modrinth:mmmmmmmmmmmm:1.20-2.0.5'
modLocalRuntime "maven.modrinth:moonlight:fabric_1.20-2.13.62"
/* Effectual */
modLocalRuntime 'maven.modrinth:effectual:0.5.0-1.20.1'
/* Create */
modCompileOnly("com.simibubi.create:create-fabric-1.20.1:0.5.1-j-build.1631+mc1.20.1")
modLocalRuntime("com.simibubi.create:create-fabric-1.20.1:0.5.1-j-build.1631+mc1.20.1")
/* Effective */
// modLocalRuntime "maven.modrinth:effective:2.3.2-1.20.1" // dependency hell
/* Particular */
modLocalRuntime "maven.modrinth:particular:1.1.1"
modLocalRuntime "maven.modrinth:sushi-bar:0.2.2+1.20"
/* Particle Core */
modLocalRuntime "maven.modrinth:particle-core:0.2.5+1.20.1"
modLocalRuntime "maven.modrinth:fzzy-config:0.6.4+1.20.1"
modLocalRuntime "me.fallenbreath:conditional-mixin:0.5.1"
/* Physics Mod */
// modLocalRuntime fileTree(dir: '../libs', include: 'physics-mod-pro-v171b-fabric-1.20.1.jar')
}
processResources {
inputs.property 'version', project.version
filesMatching('fabric.mod.json') {
expand version: project.version
}
}
shadowJar {
configurations = [project.configurations.shadowBundle]
archiveClassifier = 'dev-shadow'
}
remapJar {
input.set shadowJar.archiveFile
}