From 3c3e914f97a159264868a426e3af0d698f69a5fe Mon Sep 17 00:00:00 2001 From: vfyjxf_ <2331007009@qq.com> Date: Sun, 28 Jan 2024 18:25:07 +0800 Subject: [PATCH] replace fg --- build.gradle | 29 +++++++++++++++--------- gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index dda46b2..5031f52 100644 --- a/build.gradle +++ b/build.gradle @@ -2,25 +2,22 @@ buildscript { repositories { mavenCentral() jcenter() + mavenLocal() maven { - name = "github" - url = "https://github.com/juanmuscaria/maven/raw/master" + name = "gt" + url = "https://gregtech.mechaenetia.com/" } maven { - name 'forge' - url 'https://maven.minecraftforge.net' + name = "gtnh" + url = "http://jenkins.usrv.eu:8081/nexus/content/groups/public/" } maven { - name 'sonatype' - url 'https://oss.sonatype.org/content/repositories/snapshots/' - } - maven { - name = "jitpack" - url = "https://jitpack.io" + name = "sonatype" + url = "https://oss.sonatype.org/content/repositories/snapshots/" } } dependencies { - classpath 'com.github.GTNewHorizons:ForgeGradle:1.2.7' + classpath 'net.minecraftforge.gradle:ForgeGradle:1.2.11' } } @@ -42,6 +39,16 @@ minecraft { repositories { + + maven { + name = "gt" + url = "https://gregtech.mechaenetia.com/" + } + maven { + name = "sonatype" + url = "https://oss.sonatype.org/content/repositories/snapshots/" + } + mavenCentral() maven { name 'chickenbones' diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f0b5a51..40ed0a4 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.3-bin.zip