mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-14 01:04:24 +00:00
[1.13.x] Update Installer to 2.1.+ (#8288)
* Update Installer to 2.1.+ Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me> * Update references of files.mcf.net/maven to maven.mcf.net Signed-off-by: SizableShrimp <sizableshrimp@sizableshrimp.me>
This commit is contained in:
1 parent
638bea3b9c
commit
a1eb26aee2
3 files changed
+5
-7
No files matched your search
+3
-4
@@ -1,8 +1,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
maven { url = 'https://files.minecraftforge.net/maven' }
|
||||
jcenter()
|
||||
maven { url = 'https://maven.minecraftforge.net/' }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
@@ -733,7 +732,7 @@ project(':forge') {
|
||||
}
|
||||
|
||||
task downloadInstaller(type: DownloadMavenArtifact) {
|
||||
artifact = 'net.minecraftforge:installer:2.0.+:shrunk'
|
||||
artifact = 'net.minecraftforge:installer:2.1.+:shrunk'
|
||||
changing = true
|
||||
}
|
||||
|
||||
@@ -1011,7 +1010,7 @@ def getArtifacts(project, config, classifiers) {
|
||||
def path = "${folder}${filename}"
|
||||
def url = "https://libraries.minecraft.net/${path}"
|
||||
if (!checkExists(url)) {
|
||||
url = "https://files.minecraftforge.net/maven/${path}"
|
||||
url = "https://maven.minecraftforge.net/${path}"
|
||||
}
|
||||
//TODO remove when Mojang launcher is updated
|
||||
if (!classifiers && art.classifier != null) { //Mojang launcher doesn't currently support classifiers, so... move it to part of the version, and force the extension to 'jar'
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
maven { url = 'https://files.minecraftforge.net/maven' }
|
||||
jcenter()
|
||||
maven { url = 'https://maven.minecraftforge.net/' }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
|
||||
@@ -7,7 +7,7 @@ logoFile="forge_logo.png"
|
||||
modId="forge"
|
||||
# We use the global forge version
|
||||
version="${global.forgeVersion}"
|
||||
updateJSONURL="https://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json"
|
||||
updateJSONURL="https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json"
|
||||
displayName="Forge"
|
||||
credits="LexManos,cpw,Mezz,fry,tterrag,gigaherz,illy"
|
||||
authors="LexManos,cpw,Mezz,fry,Spacetoad,Eloraam"
|
||||
|
||||
Reference in new issue
Block a user