Skip to content

Commit

Permalink
copy maven group from gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Jun 14, 2024
1 parent b8fd847 commit c30eed2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,15 @@ loom {
}

processResources {
inputs.property 'version', version
def expandProps = [
'version' : version,
'maven_group': project.maven_group
]

inputs.properties(expandProps)

filesMatching(['fabric.mod.json', 'quilt.mod.json']) {
expand 'version': version
expand expandProps
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schema_version": 1,
"quilt_loader": {
"group": "io.github.ennuil",
"group": "${maven_group}",
"id": "libzoomer",
"version": "${version}",
"metadata": {
Expand All @@ -12,7 +12,7 @@
"Up": "Developer"
},
"contact": {
"homepage": "https://modrinth.com/mod/libzoomer",
"homepage": "https://modrinth.com/mod/UuqHBjf9",
"issues": "https://github.com/Up-Mods/LibZoomer/issues",
"sources": "https://github.com/Up-Mods/LibZoomer"
},
Expand Down

0 comments on commit c30eed2

Please sign in to comment.