Skip to content

Commit

Permalink
make mappings() detect file format
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysdh540 committed Jun 10, 2024
1 parent 8744dd0 commit 63bc07d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ open class CompressJarTask : DefaultTask() {
}
}

fun mappings(file: File, format: MappingFormat = MappingFormat.PROGUARD): MemoryMappingTree {
fun mappings(file: File, format: MappingFormat? = null): MemoryMappingTree {
if (!file.exists()) {
error("Mappings file $file does not exist")
}
Expand Down

0 comments on commit 63bc07d

Please sign in to comment.