From 85b7b0351635f5455a108d129dec3ac8303dd66a Mon Sep 17 00:00:00 2001 From: Mgazul Date: Fri, 22 Mar 2024 18:08:56 +0800 Subject: [PATCH] remove gradleutils --- build.gradle | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/build.gradle b/build.gradle index ad5d6cca36..70d51f61ae 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,3 @@ -buildscript { - repositories { - mavenLocal() - mavenCentral() - maven { url = "https://maven.minecraftforge.net/" } - } - dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:[6.0.16,6.2)' - } -} - import com.mohistmc.tasks.JenkinsNumber import groovy.json.JsonBuilder @@ -33,8 +22,9 @@ import org.gradle.plugins.ide.eclipse.model.SourceFolder plugins { id 'org.cadixdev.licenser' version '0.6.1' - id 'net.minecraftforge.gradleutils' version '[2.2,2.3)' id 'com.github.ben-manes.versions' version '0.46.0' + id 'net.minecraftforge.gradle.patcher' version '[6.0.16,6.2)' apply false + id 'net.minecraftforge.gradle.mcp' version '[6.0.16,6.2)' apply false id 'eclipse' id 'de.undercouch.download' version '5.4.0' } @@ -51,7 +41,6 @@ ext { MCP_VERSION = '20210115.111550' ASM_VERSION = '9.6' SPI_VERSION = '3.2.0' - GIT_INFO = gradleutils.gitInfo MOHIST_VERSION = JenkinsNumber.info() } @@ -280,7 +269,6 @@ project(':mohist') { MANIFESTS = [ '/': [ 'Timestamp': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"), - 'GitCommit': gradleutils.gitInfo.abbreviatedId, 'Git-Branch': '1.16.5' ] as LinkedHashMap, 'net/minecraftforge/versions/forge/': [