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 3ce7809 commit ce184fa
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 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,25 @@ 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
}
}
}

0 comments on commit ce184fa

Please sign in to comment.