Skip to content

Commit

Permalink
Updatte 1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfkid200444 committed May 1, 2024
1 parent b779697 commit 0bbd19d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- '**/src/**'
- '.github/**'
branches:
- 1802
- 1802-fabric

jobs:
build:
Expand Down
19 changes: 11 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,21 @@ dependencies {

}

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
processResources {
inputs.property "version", project.version
filteringCharset "UTF-8"

// The Minecraft launcher currently installs Java 8 for users, so your mod probably wants to target Java 8 too
// JDK 9 introduced a new way of specifying this that will make sure no newer classes or methods are used.
// We'll use that if it's available, but otherwise we'll use the older option.
def targetVersion = 8
if (JavaVersion.current().isJava9Compatible()) {
options.release = targetVersion
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.release = 17
}


jar {
from("LICENSE") {
rename { "${it}_${archivesBaseName}+${version}" }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx2048M
minecraft_version=1.18.2

archives_base_name=EmoteTweaks
mod_version=2.0.1
mod_version=2.0.2
maven_group=dev.bsmp.emoteTweaks

fabric_loader_version=0.15.6
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"depends": {
"fabricloader": ">=0.14.9",
"fabric": "*",
"minecraft": "1.19.4",
"minecraft": "1.18.2",
"emotecraft": "2.2.7-b.build.50",
"voicechat": ">=1.18.2-2.3.10"
}
Expand Down

0 comments on commit 0bbd19d

Please sign in to comment.