aboutsummaryrefslogtreecommitdiff
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
parent16b5aeb4647b13d49b8d679a417bdbc0b4ff6aba (diff)
downloadCowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.tar.gz
Cowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.tar.bz2
Cowlection-eb0d8a25027a874ad2341cb77883fa5cc06cfd88.zip
Updated Gradle related things
based on asbyth's instructions
-rw-r--r--build.gradle18
-rw-r--r--gradle/wrapper/gradle-wrapper.jarbin52271 -> 59203 bytes
-rw-r--r--gradle/wrapper/gradle-wrapper.properties2
-rw-r--r--src/main/java/de/cowtipper/cowlection/command/TabCompletableCommand.java2
4 files changed, 18 insertions, 4 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 {
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
index 30d399d..e708b1c 100644
--- a/gradle/wrapper/gradle-wrapper.jar
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index fb87029..f1c758a 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-4.9-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip
diff --git a/src/main/java/de/cowtipper/cowlection/command/TabCompletableCommand.java b/src/main/java/de/cowtipper/cowlection/command/TabCompletableCommand.java
index b873714..43ed2b6 100644
--- a/src/main/java/de/cowtipper/cowlection/command/TabCompletableCommand.java
+++ b/src/main/java/de/cowtipper/cowlection/command/TabCompletableCommand.java
@@ -28,7 +28,7 @@ public class TabCompletableCommand extends CommandBase {
@Override
public String getCommandUsage(ICommandSender sender) {
- return null;
+ return "/" + cmdName + " [additional parameters]. This client-command provides username tab-completion for the equivalent server-side command.";
}
@Override