Skip to content

Commit

Permalink
Upgrade to minecraft 1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Mar 11, 2022
1 parent c388ada commit eae5ba5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ archivesBaseName = 'ChromeBall-Forge-1.18'
java.toolchain.languageVersion = JavaLanguageVersion.of(17)

minecraft {
// mappings channel: 'official', version: '1.18.1'
mappings channel: 'parchment', version: '2021.12.19-1.18.1'
// mappings channel: 'official', version: '1.18.2'
mappings channel: 'parchment', version: '2022.03.06-1.18.1'

runs {
client {
Expand Down Expand Up @@ -84,7 +84,7 @@ repositories {
}

dependencies {
minecraft 'net.minecraftforge:forge:1.18.1-39.0.9'
minecraft 'net.minecraftforge:forge:1.18.2-40.0.12'
}

jar {
Expand All @@ -94,7 +94,7 @@ jar {
"Specification-Vendor": "TeaConMC",
"Specification-Version": "1",
"Implementation-Title": project.name,
"Implementation-Version": "${version}",
"Implementation-Version": "${project.version}",
"Implementation-Vendor": "TeaConMC",
"Implementation-Timestamp": DateTimeFormatter.ISO_INSTANT.format(Instant.now().truncatedTo(ChronoUnit.SECONDS))
])
Expand All @@ -103,8 +103,8 @@ jar {

def reobfFile = file("$buildDir/reobfJar/output.jar")
def reobfArtifact = artifacts.add('default', reobfFile) {
type 'jar'
builtBy 'reobfJar'
it.type = 'jar'
it.builtBy 'reobfJar'
}

publishing {
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader="javafml"
loaderVersion="[39,)"
loaderVersion="[40,)"
license="BSD-3-Clause"

[[mods]]
Expand All @@ -22,6 +22,6 @@ side="BOTH"
[[dependencies.chromeball]]
modId="forge"
mandatory=true
versionRange="[39,)"
versionRange="[40,)"
ordering="NONE"
side="BOTH"

0 comments on commit eae5ba5

Please sign in to comment.