Skip to content

Commit 5e283c1

Browse files
committed
Dump mapping debug file in a more sensible location
1 parent 72d7dd5 commit 5e283c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/replaymod/gradle/preprocess/PreprocessTask.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ open class PreprocessTask : DefaultTask() {
129129
val dstMap = destinationMappings!!.readMappings()
130130
srcMap.join(dstMap.reverse())
131131
}
132-
MappingFormats.SRG.write(mappings, project.file("tmp.srg").toPath())
132+
MappingFormats.SRG.write(mappings, project.buildDir.resolve(name).resolve("mapping.srg").toPath())
133133
val javaTransformer = Transformer(mappings)
134134
LOGGER.debug("Remap Classpath:")
135135
javaTransformer.classpath = classpath.files.mapNotNull {

0 commit comments

Comments
 (0)