Skip to content

Commit

Permalink
Merge branch 'master' into 1.21-neoforge
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Nov 15, 2024
2 parents d222236 + 9db84cb commit 5af273e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ configurations {
runtimeClasspath.extendsFrom localRuntime
}

configurations.all {
resolutionStrategy {
// Override vulnerable netty-common dependency until Minecraft updates
// to a newer version. v4.1.97.Final, used by Minecraft 1.21 - 1.21.3,
// is vulnerable to CVE-2024-47535.
force "io.netty:netty-common:4.1.115.Final"
}
}

dependencies {
// Specify the version of Minecraft to use.
// Depending on the plugin applied there are several options. We will assume you applied the userdev plugin as shown above.
Expand Down Expand Up @@ -225,7 +234,6 @@ task github(dependsOn: build) {
def github = GitHub.connectUsingOAuth(ENV.GITHUB_TOKEN as String)
def repository = github.getRepository("Wurst-Imperium-MCX/Mo-Glass")
def ghVersion = "v" + version.substring(0, version.indexOf("-"))
def archivesName = project.base.archivesName.get() as String

def ghRelease = repository.getReleaseByTagName(ghVersion as String)
if(ghRelease == null) {
Expand Down

0 comments on commit 5af273e

Please sign in to comment.