9
0
mirror of https://github.com/Auxilor/EcoBits.git synced 2025-12-19 15:09:19 +00:00

Update build.gradle.kts

This commit is contained in:
Will FP
2024-07-11 02:49:48 +01:00
committed by GitHub
parent 9679e84fd2
commit 8f3eaa0b4d

View File

@@ -16,8 +16,23 @@ tasks {
publishing {
publications {
create<MavenPublication>("maven") {
from(components["java"])
register<MavenPublication>("maven") {
groupId = project.group.toString()
version = project.version.toString()
artifactId = rootProject.name
artifact(rootProject.tasks.shadowJar.get().archiveFile)
}
}
repositories {
maven {
name = "auxilor"
url = uri("https://repo.auxilor.io/repository/maven-releases/")
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}