Should fix gradle

This commit is contained in:
modmuss50 2018-02-19 15:01:37 +00:00
parent 804971bb70
commit 87b1fb9200
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -216,6 +216,7 @@ publishing {
classifier "sources"
}
//Removes all of the dependencies from the maven pom, fixes issues when other projects try to depend on tr
pom.withXml {
asNode().remove(asNode().get('dependencies'))
@ -225,9 +226,11 @@ publishing {
repositories {
maven {
url "http://mavenupload.modmuss50.me/"
credentials {
username 'buildslave'
password project.getProperty('mavenPass')
if (project.hasProperty('mavenPass')) {
credentials {
username 'buildslave'
password project.getProperty('mavenPass')
}
}
}
}