Skip to content

Commit

Permalink
Fix Forge 1.19 version numbering
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Oct 16, 2022
1 parent 024b15d commit e56bf3f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,16 @@ dependencies {
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'
}

processResources {
inputs.property("version", project.version)

exclude(".cache")

filesMatching("META-INF/mods.toml") {
expand("version": project.version)
}
}

jar {
manifest {
attributes([
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ displayURL="https://github.com/62832/MEGACells"

[[mods]]
modId="megacells"
version="1.4.2-1.19.2"
version="${version}"
displayName="MEGA Cells"
logoFile="logo.png"
credits="s/o to Technici4n, Gimpansor, MasterYodA, PrototypeTrousers, ramidzkh, RaVen"
Expand Down

0 comments on commit e56bf3f

Please sign in to comment.