aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorCow <cow@volloeko.de>2021-06-16 12:19:21 +0200
committerCow <cow@volloeko.de>2021-06-16 12:19:21 +0200
commiteb0d8a25027a874ad2341cb77883fa5cc06cfd88 (patch)
treeecee0f4bc108b3d8c9005d339759c3198a581be1 /build.gradle
parent16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba (diff)
downloadCowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.tar.gz
Cowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.tar.bz2
Cowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.zip
Updated Gradle related things
based on asbyth's instructions
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle18
1 files changed, 16 insertions, 2 deletions
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 {