Updated build.gradle in preparation for maven changes
This commit is contained in:
parent
475abae786
commit
5fd444c260
1 changed files with 58 additions and 64 deletions
10
build.gradle
10
build.gradle
|
@ -144,20 +144,14 @@ curseforge {
|
|||
import groovy.io.FileType
|
||||
|
||||
uploadArchives {
|
||||
dependsOn 'build'
|
||||
|
||||
repositories {
|
||||
if (project.hasProperty("filesmaven")) {
|
||||
logger.info('Publishing to files server')
|
||||
|
||||
mavenDeployer {
|
||||
configuration = configurations.deployJars
|
||||
|
||||
repository(url: project.filesmaven.url) {
|
||||
authentication(userName: project.filesmaven.username, privateKey: project.filesmaven.key)
|
||||
authentication(userName: forgeMavenUsername, privateKey: forgeMavenPassword)
|
||||
}
|
||||
|
||||
// This is just the pom data for the maven repo
|
||||
pom {
|
||||
groupId = project.group
|
||||
version = project.version
|
||||
|
@ -220,5 +214,5 @@ uploadArchives {
|
|||
repository(url: 'file://localhost/' + project.file('repo').getAbsolutePath())
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue