Skip to content

Commit 6d3d57c

Browse files
committed
Update TR to 0.13.0 and add sourcesJar to modrinth
1 parent fe9034f commit 6d3d57c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

build.gradle

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies {
4444
shadow(runtimeOnly('net.fabricmc:mapping-io:0.8.0')) {
4545
transitive = false
4646
}
47-
shadow(runtimeOnly('net.fabricmc:tiny-remapper:0.12.1')) {
47+
shadow(runtimeOnly('net.fabricmc:tiny-remapper:0.13.0')) {
4848
transitive = false
4949
}
5050
shadow(runtimeOnly('net.fabricmc:class-tweaker:0.2')) {
@@ -103,7 +103,7 @@ shadowJar {
103103

104104
relocate 'net.fabricmc.mappingio', 'io.github.fabriccompatibilitylayers.modremappingapi.impl.lib.mappingio'
105105
relocate 'net.fabricmc.tinyremapper', 'io.github.fabriccompatibilitylayers.modremappingapi.impl.lib.tinyremapper'
106-
relocate 'net.fabricmc.accesswidener', 'io.github.fabriccompatibilitylayers.modremappingapi.impl.lib.accesswidener'
106+
relocate 'net.fabricmc.classtweaker', 'io.github.fabriccompatibilitylayers.modremappingapi.impl.lib.classtweaker'
107107
relocate 'com.google.gson', 'io.github.fabriccompatibilitylayers.modremappingapi.impl.lib.gson'
108108
}
109109

@@ -157,15 +157,19 @@ modrinth {
157157
token = System.getenv("MODRINTH_TOKEN")
158158
projectId = "mod-remapping-api"
159159
changelog = """
160-
Remove previous testing logging.
160+
Update Tiny Remapper to 0.13.0.
161161
162-
Fix excluding files from extracted libraries not working.
162+
Update MappingIO to 0.8.0.
163+
164+
Add Class Tweaker support.
163165
"""
164166
uploadFile = shadeDowngradedApi
165167

166168
dependencies {
167169
embedded.version "spasm", project.spasm_version
168170
}
171+
172+
additionalFiles.add(sourcesJar)
169173
}
170174

171175
task testmodJar(type: Jar) {

0 commit comments

Comments
 (0)