Skip to content

Commit

Permalink
fix not launch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
najoan125 committed Sep 28, 2024
1 parent c05b2e6 commit 375f3d9
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 5 deletions.
3 changes: 3 additions & 0 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
2 changes: 1 addition & 1 deletion common/src/main/resources/koreanpatch.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minVersion": "0.8",
"package": "com.hyfata.najoan.koreanpatch.mixin",
"refmap": "${mod_id}.refmap.json",
"compatibilityLevel": "JAVA_18",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"client": [
"EditBoxMixin",
Expand Down
9 changes: 9 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,13 @@ loom {
runDir('runs/server')
}
}
}

compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
2 changes: 1 addition & 1 deletion fabric/src/main/resources/koreanpatch.fabric.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"minVersion": "0.8",
"package": "com.hyfata.najoan.koreanpatch.mixin",
"refmap": "${mod_id}.refmap.json",
"compatibilityLevel": "JAVA_21",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"client": [
"mods.bettercommand.AbstractBetterCommandBlockScreenMixin",
Expand Down
4 changes: 4 additions & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@ sourceSets.each {
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
2 changes: 1 addition & 1 deletion forge/src/main/resources/koreanpatch.forge.mixins.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "com.hyfata.najoan.koreanpatch.mixin",
"compatibilityLevel": "JAVA_18",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"client": [
],
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Project
mod_version=1.6.4
group=com.hyfata
java_version=21
java_version=17

# Common
minecraft_version=1.20.4
Expand Down
4 changes: 4 additions & 0 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,8 @@ dependencies {
compileJava.options.encoding = 'UTF-8'
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}

tasks.withType(Javadoc).configureEach {
options.encoding = 'UTF-8'
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"required": true,
"minVersion": "0.8",
"package": "com.hyfata.najoan.koreanpatch.mixin",
"compatibilityLevel": "JAVA_21",
"compatibilityLevel": "JAVA_17",
"mixins": [],
"client": [
],
Expand Down

0 comments on commit 375f3d9

Please sign in to comment.