Update Gradle config

This commit is contained in:
Shadowfacts 2017-06-29 16:39:47 -04:00
parent ae873b5cc4
commit bb3a703467
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
2 changed files with 11 additions and 13 deletions

View File

@ -7,7 +7,7 @@ buildscript {
} }
} }
dependencies { dependencies {
classpath "net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT" classpath "net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlin_version}"
} }
} }
@ -53,16 +53,6 @@ processResources {
repositories { repositories {
jcenter() jcenter()
maven {
name "shadowfacts"
url "http://mvn.rx14.co.uk/shadowfacts/"
}
maven {
url "http://dvs1.progwml6.com/files/maven"
}
maven {
url "http://maven.epoxide.xyz"
}
} }
dependencies { dependencies {
@ -111,3 +101,11 @@ reobf {
} }
tasks.reobfShadowJar.mustRunAfter shadowJar tasks.reobfShadowJar.mustRunAfter shadowJar
tasks.build.dependsOn reobfShadowJar tasks.build.dependsOn reobfShadowJar
uploadArchives {
repositories.mavenDeployer {
repository(url: "http://archiva.shadowfacts.net/repository/local/") {
authentication(userName: project.hasProperty("mavenUser") ? project.mavenUser : System.getenv("mavenUser"), password: project.hasProperty("mavenPassword") ? project.mavenPassword : System.getenv("mavenPassword"))
}
}
}

View File

@ -3,8 +3,8 @@ group = net.shadowfacts
archivesBaseName = Forgelin archivesBaseName = Forgelin
mc_version = 1.12 mc_version = 1.12
mcp_mappings = snapshot_20170624 mcp_mappings = snapshot_20170629
forge_version = 14.21.0.2368 forge_version = 14.21.1.2387
kotlin_version = 1.1.3 kotlin_version = 1.1.3
annotations_version = 15.0 annotations_version = 15.0