summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle61
1 files changed, 60 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 2332c815..03812709 100644
--- a/build.gradle
+++ b/build.gradle
@@ -188,4 +188,63 @@ configurations.archives {
188 188
189// And finally, make the build generate / install the jars. 189// And finally, make the build generate / install the jars.
190assemble.dependsOn thinJar 190assemble.dependsOn thinJar
191build.dependsOn install \ No newline at end of file 191build.dependsOn install
192
193uploadArchives {
194 repositories {
195 mavenDeployer {
196 if (project.hasProperty('mavenPass')){
197 repository(url: "http://mavenupload.modmuss50.me/") {
198 authentication(userName: "buildslave", password: project.getProperty('mavenPass'))
199 }
200 }
201 else{
202 repository(url: "file:///var/www/maven/")
203 }
204 pom {
205 groupId = "chorusmc"
206 version = project.version
207 artifactId = project.archivesBaseName
208 project {
209 name project.archivesBaseName
210 packaging 'jar'
211 description 'Enigma'
212 url 'https://github.com/ChorusMC/Enigma'
213 scm {
214 url 'https://github.com/ChorusMC/Enigma'
215 connection 'scm:git:git@github.com:ChorusMC/Enigma.git'
216 developerConnection 'scm:git:git@github.com:ChorusMC/Enigma.git'
217 }
218 issueManagement {
219 system 'github'
220 url 'https://github.com/ChorusMC/Enigma/issues'
221 }
222 licenses {
223 license {
224 name 'License'
225 url 'https://github.com/ChorusMC/Enigma/blob/master/readme.txt'
226 distribution 'repo'
227 }
228 }
229 developers {
230 developer {
231 id 'modmuss50'
232 name 'modmuss50'
233 roles { role 'developer' }
234 }
235 developer {
236 id 'Thog'
237 name 'Thog'
238 roles { role 'developer' }
239 }
240 developer {
241 id 'Cuchaz'
242 name 'Cuchaz'
243 roles { role 'developer' }
244 }
245 }
246 }
247 }
248 }
249 }
250} \ No newline at end of file