Skip to content

Commit

Permalink
Write transformer properties with UTF-8 (#31)
Browse files Browse the repository at this point in the history
* Write transformer properties with UTF-8

* Update transformer to 5.2.75
  • Loading branch information
Juuxel authored May 13, 2023
1 parent b0a5920 commit 0a37a6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ loom_version_010Legacy=0.10.0.171
loom_version_010=0.10.0.188
loom_version_011=0.11.0.217
loom_version_11=1.1.313
transformer_version=5.2.72
transformer_version=5.2.75
base_version=3.4
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import java.util.jar.JarOutputStream
import java.util.jar.Manifest

open class ArchitectPluginExtension(val project: Project) {
var transformerVersion = "5.2.72"
var transformerVersion = "5.2.75"
var injectablesVersion = "1.0.10"
var minecraft = ""
private var compileOnly = false
Expand Down Expand Up @@ -132,7 +132,7 @@ open class ArchitectPluginExtension(val project: Project) {
properties(transforms.keys.first()).forEach { (key, value) ->
properties.setProperty(key, value)
}
propertiesTransformerFile.writer().use {
propertiesTransformerFile.writer(Charsets.UTF_8).use {
properties.store(it, "Architectury Runtime Transformer Properties")
}
}
Expand Down

0 comments on commit 0a37a6b

Please sign in to comment.