More build.gradle fixes

This commit is contained in:
Adubbz 2016-01-01 13:19:16 +11:00
parent 02e46a66d8
commit b3d8c23075
1 changed files with 2 additions and 2 deletions

View File

@ -147,9 +147,9 @@ uploadArchives {
repositories {
mavenDeployer {
if (project.hasProperty('filesmaven'))
if (project.hasProperty('forgeMavenPassword'))
{
repository(url: project.filesmaven.url) {
repository(url: "http://files.minecraftforge.net/maven/manage/upload") {
authentication(userName: project.getProperty('forgeMavenUsername'), privateKey: project.getProperty('forgeMavenPassword'))
}
}