Updated build.gradle in preparation for maven changes

This commit is contained in:
Adubbz 2016-01-01 11:49:15 +11:00
parent 475abae786
commit 5fd444c260

View file

@ -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