Should fix gradle
This commit is contained in:
parent
804971bb70
commit
87b1fb9200
1 changed files with 6 additions and 3 deletions
|
@ -216,6 +216,7 @@ publishing {
|
||||||
classifier "sources"
|
classifier "sources"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//Removes all of the dependencies from the maven pom, fixes issues when other projects try to depend on tr
|
//Removes all of the dependencies from the maven pom, fixes issues when other projects try to depend on tr
|
||||||
pom.withXml {
|
pom.withXml {
|
||||||
asNode().remove(asNode().get('dependencies'))
|
asNode().remove(asNode().get('dependencies'))
|
||||||
|
@ -225,12 +226,14 @@ publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url "http://mavenupload.modmuss50.me/"
|
url "http://mavenupload.modmuss50.me/"
|
||||||
|
if (project.hasProperty('mavenPass')) {
|
||||||
credentials {
|
credentials {
|
||||||
username 'buildslave'
|
username 'buildslave'
|
||||||
password project.getProperty('mavenPass')
|
password project.getProperty('mavenPass')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue