Fixed authentication
This commit is contained in:
parent
b3d8c23075
commit
d50e9d9cb8
1 changed files with 1 additions and 3 deletions
|
@ -146,11 +146,10 @@ import groovy.io.FileType
|
|||
uploadArchives {
|
||||
repositories {
|
||||
mavenDeployer {
|
||||
|
||||
if (project.hasProperty('forgeMavenPassword'))
|
||||
{
|
||||
repository(url: "http://files.minecraftforge.net/maven/manage/upload") {
|
||||
authentication(userName: project.getProperty('forgeMavenUsername'), privateKey: project.getProperty('forgeMavenPassword'))
|
||||
authentication(userName: project.getProperty('forgeMavenUsername'), password: project.getProperty('forgeMavenPassword'))
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -159,7 +158,6 @@ uploadArchives {
|
|||
repository(url: 'file://localhost/' + project.file('repo').getAbsolutePath())
|
||||
}
|
||||
|
||||
|
||||
pom {
|
||||
groupId = project.group
|
||||
version = project.version
|
||||
|
|
Loading…
Reference in a new issue