Skip to content

Commit

Permalink
gradle archive base name
Browse files Browse the repository at this point in the history
  • Loading branch information
RedthMC committed Aug 18, 2023
1 parent 2bfb342 commit 17e1a46
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ plugins {
val mod_name: String by project
val mod_version: String by project
val mod_id: String by project
val mod_archives_name: String by project

// Sets up the variables for when we preprocess to other Minecraft versions.
preprocess {
Expand All @@ -38,12 +39,12 @@ blossom {
version = mod_version
// Sets the group, make sure to change this to your own. It can be a website you own backwards or your GitHub username.
// e.g. com.github.<your username> or com.<your domain>
group = "cc.polyfrost"
group = "me.redth"

// Sets the name of the output jar (the one you put in your mods folder and send to other people)
// It outputs all versions of the mod into the `build` directory.
base {
archivesName.set("$mod_id-$platform")
archivesName.set("$mod_archives_name-$platform")
}

// Configures the Polyfrost Loom, our plugin fork to easily set up the programming environment.
Expand Down

0 comments on commit 17e1a46

Please sign in to comment.