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 cda06a7 commit 3db1776
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
24 changes: 24 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'fabric-loom' version '1.7.bta'
id 'java'
id 'maven-publish'
}

import org.gradle.internal.os.OperatingSystem
Expand Down Expand Up @@ -141,3 +142,26 @@ processResources {
expand "version": version
}
}


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
}
}
}
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
org.gradle.jvmargs=-Xmx2G
org.gradle.daemon=false

mod_version=3.0.0
mod_group=io.github.turniplabs
mod_version=3.0.0-beta.1
mod_group=turniplabs
mod_name=modmenu-bta

bta_version=nightly-2024-10-04
Expand Down

0 comments on commit 3db1776

Please sign in to comment.