Skip to content

Commit

Permalink
fix: bundle maven publication with sources jar
Browse files Browse the repository at this point in the history
  • Loading branch information
andantet committed Oct 28, 2024
1 parent e3f7305 commit aab5787
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ loom {
accessWidenerPath = file("src/main/resources/${mod_id}.accesswidener")
}

java {
withSourcesJar()
}

jar {
from("LICENSE") {
rename { "${it}_${archivesBaseName}" }
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ kotlin_version=2.0.21
fabric_kotlin_version=1.12.3

# Mod Properties
mod_version=1.4.2
mod_version=1.4.3

maven_group=net.mcbrawls
mod_id=brawls-entities
Expand Down

0 comments on commit aab5787

Please sign in to comment.