Skip to content

Commit 7d9e659

Browse files
committed
Initial
1 parent a7ee48b commit 7d9e659

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

build.gradle

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,39 @@ dependencies {
6161

6262
test {
6363
useJUnitPlatform()
64+
}
65+
66+
publishing {
67+
publications.register("mangobotaddon", MavenPublication) {
68+
artifactId = 'mangobotlaunchtarget'
69+
artifact shadowJar
70+
artifact sourcesJar
71+
72+
pom {
73+
name = 'MangoBotCore'
74+
description = 'The Launch Target for MangoBot'
75+
url = 'https://github.com/MangoRageBot/MangoBot'
76+
issueManagement {
77+
system = 'github'
78+
url = 'https://github.com/MangoRageBot/MangoBot/issues'
79+
}
80+
developers {
81+
developer {
82+
id = 'mangorage'
83+
name = 'MangoRage'
84+
}
85+
}
86+
}
87+
}
88+
89+
repositories {
90+
maven {
91+
url = "https://maven.mangorage.org/releases"
92+
93+
credentials {
94+
username = System.getenv("MAVEN_USER")
95+
password = System.getenv("MAVEN_PASSWORD")
96+
}
97+
}
98+
}
6499
}

0 commit comments

Comments
 (0)