Skip to content

Commit

Permalink
🚀 Quick stuff for other CI/CDs
Browse files Browse the repository at this point in the history
  • Loading branch information
asoji committed Jul 25, 2023
1 parent c47d582 commit a28ad26
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,11 @@ task buildOrPublish {

publishing {
publications {
mavenJava(MavenPublication) {
version "${project.mod_version}"
maven(MavenPublication) {
groupId = project.maven_group
artifactId = project.archives_base_name
version = "${project.mod_version}-rev.${grgit.head().abbreviatedId}"

from components.java
}
}
Expand Down

0 comments on commit a28ad26

Please sign in to comment.