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,6 +226,7 @@ publishing {
repositories {
maven {
url "http://mavenupload.modmuss50.me/"
if (project.hasProperty('mavenPass')) {
credentials {
username 'buildslave'
password project.getProperty('mavenPass')
@ -232,6 +234,7 @@ publishing {
}
}
}
}
//Thanks Matthew from #ForgeGradle https://gist.github.com/matthewprenger/108265e3efc83181bd2cc2d2fc31a853