From eb0d8a25027a874ad2341cb77883fa5cc06cfd88 Mon Sep 17 00:00:00 2001 From: Cow Date: Wed, 16 Jun 2021 12:19:21 +0200 Subject: Updated Gradle related things based on asbyth's instructions --- build.gradle | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index c9883f2..56090b8 100644 --- a/build.gradle +++ b/build.gradle @@ -4,11 +4,15 @@ buildscript { jcenter() maven { name = "forge" - url = "http://files.minecraftforge.net/maven" + url = "https://maven.minecraftforge.net/" + } + maven { + name = "jitpack" + url = "https://jitpack.io/" } } dependencies { - classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT' + classpath "com.github.asbyth:ForgeGradle:6f53277" } } apply plugin: 'net.minecraftforge.gradle.forge' @@ -90,6 +94,16 @@ processResources { } } +task moveResources { + doLast { + ant.move file: "${buildDir}/resources/main", + todir: "${buildDir}/classes/java" + } +} + +moveResources.dependsOn processResources +classes.dependsOn moveResources + import org.apache.tools.ant.filters.FixCrLfFilter // update versions in update.json copy { -- cgit