Skip to content

Commit

Permalink
Add minecraft version to build jar
Browse files Browse the repository at this point in the history
  • Loading branch information
JustAlittleWolf committed Jan 23, 2024
1 parent e9aece4 commit bb54ec0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ java {
if (JavaVersion.current() < javaVersion) {
toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion)
}
archivesBaseName = project.archives_base_name
archivesBaseName = project.archives_base_name + "+" + project.minecraft_version
withSourcesJar()
}

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.6

mod_version = 1.0.0+1.20.4
mod_version = 1.0.0
archives_base_name = ModDetectionPreventer

0 comments on commit bb54ec0

Please sign in to comment.