aboutsummaryrefslogtreecommitdiff
path: root/spark-forge
diff options
context:
space:
mode:
Diffstat (limited to 'spark-forge')
-rw-r--r--spark-forge/build.gradle13
-rw-r--r--spark-forge/src/main/resources/mcmod.info2
2 files changed, 9 insertions, 6 deletions
diff --git a/spark-forge/build.gradle b/spark-forge/build.gradle
index be1982d..d8b4049 100644
--- a/spark-forge/build.gradle
+++ b/spark-forge/build.gradle
@@ -1,16 +1,17 @@
buildscript {
repositories {
- jcenter()
maven { url = "http://files.minecraftforge.net/maven" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
- classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.4'
}
}
+plugins {
+ id 'com.github.johnrengelman.shadow' version '4.0.1'
+}
+
apply plugin: 'net.minecraftforge.gradle.forge'
-apply plugin: 'com.github.johnrengelman.shadow'
minecraft {
version = '1.12.2-14.23.4.2705'
@@ -23,8 +24,10 @@ minecraft {
processResources {
from(sourceSets.main.resources.srcDirs) {
- expand 'pluginVersion': project.pluginVersion
- expand 'pluginDesc': project.pluginDesc
+ expand (
+ 'pluginVersion': project.pluginVersion,
+ 'pluginDescription': project.pluginDescription
+ )
include 'mcmod.info'
}
}
diff --git a/spark-forge/src/main/resources/mcmod.info b/spark-forge/src/main/resources/mcmod.info
index 861646f..6b3be4c 100644
--- a/spark-forge/src/main/resources/mcmod.info
+++ b/spark-forge/src/main/resources/mcmod.info
@@ -1,7 +1,7 @@
[{
"modid": "spark",
"name": "spark",
- "description": "${pluginDesc}",
+ "description": "${pluginDescription}",
"version": "${pluginVersion}",
"authors": ["Luck", "sk89q"]
}] \ No newline at end of file