Attempting to get Gradle to work... I've avoided this for a reason :/

This commit is contained in:
Adubbz 2014-10-05 12:01:42 +11:00
parent 24697f74e9
commit c15842454c

View file

@ -18,7 +18,6 @@ buildscript {
apply plugin: "fml" apply plugin: "fml"
repositories { repositories {
mavenLocal()
flatDir { flatDir {
name "fileRepo" name "fileRepo"
dirs "repo" dirs "repo"
@ -137,11 +136,9 @@ uploadArchives {
authentication(userName: project.filesmaven.username, privateKey: project.filesmaven.key) authentication(userName: project.filesmaven.username, privateKey: project.filesmaven.key)
} }
// This is just the pom data for the maven repo
pom { pom {
groupId = project.group groupId = project.group
// Force the maven upload to use the <mcversion>-<version> syntax preferred at files version = project.version
version = "${project.minecraft.version}-${project.version}"
artifactId = project.archivesBaseName artifactId = project.archivesBaseName
project { project {
name project.archivesBaseName name project.archivesBaseName