-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
187 lines (168 loc) · 6.72 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
plugins {
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}
version = project.mod_version
group = project.maven_group
base {
archivesName = "${project.archives_base_name}-${project.minecraft_version}"
}
repositories {
maven {
url = "https://cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven {
url "https://maven.jamieswhiteshirt.com/libs-release"
content {
includeGroup "com.jamieswhiteshirt"
}
}
maven {
// 2023년 1월 이전에 JEI 파일을 호스팅하는 메이븐의 위치
// location of the maven that hosts JEI files before January 2023
name = "Progwml6's maven"
url = "https://dvs1.progwml6.com/files/maven/"
}
maven {
// 2023년 1월 이후 JEI 파일을 호스팅하는 메이븐의 위치
// location of the maven that hosts JEI files since January 2023
name = "Jared's maven"
url = "https://maven.blamejared.com/"
}
maven {
name = "KosmX's maven"
url = 'https://maven.kosmx.dev/'
}
maven {
// JEI 파일에 대한 메이븐 미러의 위치, 폴백으로 사용
// location of a maven mirror for JEI files, as a fallback
name = "ModMaven"
url = "https://modmaven.dev"
}
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
maven {
name = "Fuzs Mod Resources"
url = "https://raw.githubusercontent.com/Fuzss/modresources/main/maven/"
}
maven {
name = 'Ladysnake Mods'
url = 'https://maven.ladysnake.org/releases'
}
maven {
name = "TerraformersMC"
url = "https://maven.terraformersmc.com/"
}
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
url = "https://maven.shedaniel.me/"
}
maven {
url = "https://maven.terraformersmc.com/releases/"
}
maven {
url = "https://maven.blamejared.com"
}
maven {
url = 'https://jitpack.io'
}
maven {
url = "https://mvn.devos.one/releases/"
}
maven {
url = "https://maven.nova-committee.cn/releases"
}
maven {
url = "https://maven.shedaniel.me/"
}
flatDir {
dir 'libs/mods'
}
}
loom {
accessWidenerPath = file("src/main/resources/tacz.accesswidener")
}
dependencies {
implementation fileTree(dir: 'libs/libraries', include: ['*.jar'])
// 버전을 변경하려면 gradle.properties 파일을 참조
// To change the versions see the gradle.properties file
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
// 패브릭 API.
// Fabric API.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation("maven.modrinth:shoulder-surfing-reloaded:${project.shoulder_surfing_reloaded_version}")
modImplementation("dev.kosmx.player-anim:player-animation-lib-fabric:${project.player_animation_lib}")
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:core:${project.porting_lib_version}+${project.minecraft_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:tags:${project.porting_lib_version}+${project.minecraft_version}"))
modImplementation(include("io.github.fabricators_of_create.Porting-Lib:entity:${project.porting_lib_version}+${project.minecraft_version}"))
modImplementation(include("dev.onyxstudios.cardinal-components-api:cardinal-components-base:${project.cardinal_components_api_version}"))
modImplementation(include("dev.onyxstudios.cardinal-components-api:cardinal-components-entity:${project.cardinal_components_api_version}"))
modImplementation(include("maven.modrinth:modernkeybinding:${project.modernkeybinding_version}"))
modImplementation("maven.modrinth:perspective-mod-redux:${project.perspective_mod_redux_version}")
modRuntimeOnly("maven.modrinth:moonlight:${project.moonlight_version}")
modRuntimeOnly("maven.modrinth:mmmmmmmmmmmm:${project.mmmmmmmmmmmm_version}")
modRuntimeOnly("maven.modrinth:resolution-control-plus:${project.resolution_control_plus_version}")
// modRuntimeOnly("maven.modrinth:emi:${project.emi_version}+${project.minecraft_version}+fabric")
modRuntimeOnly("maven.modrinth:jei:${project.jei_version}")
modRuntimeOnly("me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}")
modRuntimeOnly "maven.modrinth:tweakeroo:0.17.1"
modRuntimeOnly "maven.modrinth:malilib:0.16.3"
modApi("me.shedaniel.cloth:cloth-config-fabric:${project.cloth_config_version}") {
exclude(group: "net.fabricmc.fabric-api")
}
modApi "com.terraformersmc:modmenu:${project.modmenu_version}"
modApi "fuzs.forgeconfigapiport:forgeconfigapiport-fabric:${project.forgeconfigapiport_version}"
modCompileOnly "org.embeddedt:embeddium-1.20.1:${project.embeddedt_version}"
modCompileOnly "libs:iris:${project.iris_version}"
modCompileOnly "libs:iris_legacy:${project.iris_old_version}"
modCompileOnly "maven.modrinth:carry-on:${project.carry_on_version}"
modCompileOnly "maven.modrinth:immediatelyfast:${project.immediatelyfast_version}"
modCompileOnly "maven.modrinth:zoomify:${project.zoomify_version}"
modCompileOnly "dev.emi:emi-fabric:${project.emi_version}+${project.minecraft_version}:api"
modCompileOnly "maven.modrinth:jei:${project.jei_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}"
modCompileOnly include("maven.modrinth:controlling:${project.controlling_version}")
modCompileOnly include("maven.modrinth:searchables:${project.searchables_version}")
// 일부 보간 연산을 수행하기 위한 Apache Commons 수학 라이브러리
// Apache Commons Math library for performing some interpolation operations
include implementation(minecraftLibraries('org.apache.commons:commons-math3:3.6.1'))
// 총기 제어에 사용되는 로직 및 애니메이션 상태 머신에 루아 스크립팅 언어를 도입한 LuaJ 라이브러리
include implementation('com.github.286799714.luaj:luaj-jse:3.0.3')
include implementation('com.github.286799714.luaj:luaj-core:3.0.3')
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
tasks.withType(JavaCompile).configureEach {
options.release = 17
options.encoding = 'utf-8'
}
java {
// 이 리포가 We-Cant-Coding/TACZ-Fabric가 아닐 경우 복제된 가능성이 아주 높습니다!
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
jar {
// 이 리포가 We-Cant-Coding/TACZ-Fabric가 아닐 경우 복제된 가능성이 아주 높습니다!
// We-Cant-Coding/TACZ-Fabric 라이센스
// We-Cant-Coding/TACZ-Fabric Licenses
from("LICENSE") {
rename { "${it}_${project.base.archivesName.get()}"}
}
}