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 {
|
uploadArchives {
|
||||||
repositories {
|
repositories {
|
||||||
mavenDeployer {
|
mavenDeployer {
|
||||||
|
|
||||||
if (project.hasProperty('forgeMavenPassword'))
|
if (project.hasProperty('forgeMavenPassword'))
|
||||||
{
|
{
|
||||||
repository(url: "http://files.minecraftforge.net/maven/manage/upload") {
|
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
|
else
|
||||||
|
@ -159,7 +158,6 @@ uploadArchives {
|
||||||
repository(url: 'file://localhost/' + project.file('repo').getAbsolutePath())
|
repository(url: 'file://localhost/' + project.file('repo').getAbsolutePath())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
groupId = project.group
|
groupId = project.group
|
||||||
version = project.version
|
version = project.version
|
||||||
|
|
Loading…
Reference in a new issue