Skip to content

Commit

Permalink
Upload uber jar to modrinth
Browse files Browse the repository at this point in the history
  • Loading branch information
OffsetMonkey538 committed Dec 28, 2024
1 parent 00a948c commit 8368d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
16 changes: 1 addition & 15 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,4 @@ dependencies {
// Netty
api "io.netty:netty-codec-http:${project.netty_version}"
}

processResources {
final Map properties = Map<String, String>.of(
"modVersion", project.mod_version,
"supportedMinecraftVersions", project.supported_minecraft_versions
)

inputs.properties(properties)

filesMatching("fabric.mod.json") {
expand(properties)
}

exclude ".cache/**"
}
tasks.build.dependsOn(shadowJar)
3 changes: 2 additions & 1 deletion paper/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies {
// Common
common project(path: ":common", configuration: "shadow")
}
tasks.build.dependsOn(shadowJar)

processResources {
final Map properties = Map<String, String>.of(
Expand All @@ -55,5 +56,5 @@ tasks.runServer {

modrinth {
loaders = ["paper"]
uploadFile = jar
uploadFile = shadowJar
}

0 comments on commit 8368d45

Please sign in to comment.