Skip to content

Commit

Permalink
Add maven publishing.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinSVK12 committed Oct 5, 2024
1 parent 1a7f3b9 commit 6b33cda
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id "babric-loom" version "1.1.+"
id 'java'
id 'maven-publish'
}

group = project.mod_group
Expand Down Expand Up @@ -120,3 +121,25 @@ jar {
rename { "${it}_${archivesBaseName}" }
}
}

publishing {
repositories {
maven {
name = "signalumMaven"
url = "https://maven.thesignalumproject.net/releases"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}

publications {
maven(MavenPublication) {
groupId = project.mod_group
artifactId = project.mod_name
version = project.mod_version
from components.java
}
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2G
org.gradle.daemon=false

mod_version=2.0.6
mod_group=io.github.turniplabs
mod_group=turniplabs
mod_name=modmenu-bta

bta_version=7.2-pre1
Expand Down

0 comments on commit 6b33cda

Please sign in to comment.