aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbotn365 <42187820+botn365@users.noreply.github.com>2019-12-30 17:18:03 +0100
committerGitHub <noreply@github.com>2019-12-30 17:18:03 +0100
commitd7c83c3cd1036668c1f520f144c08de444f675a4 (patch)
treeb1c9a38637fe3c038ff82bf55e6886934e2b8a97
parentfa1a1f4a6cd8dee8011a8f04fa6afbcc71d8db89 (diff)
parenta404663f374dbb4e641f51a0d975ecfb651cb4f3 (diff)
downloadGT5-Unofficial-d7c83c3cd1036668c1f520f144c08de444f675a4.tar.gz
GT5-Unofficial-d7c83c3cd1036668c1f520f144c08de444f675a4.tar.bz2
GT5-Unofficial-d7c83c3cd1036668c1f520f144c08de444f675a4.zip
Merge pull request #6 from alkcorp/master
$ Fixed Gradle not including the manifest for the Core Mod.
-rw-r--r--build.gradle8
1 files changed, 8 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 240e931d2f..edb2accbd0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -160,6 +160,14 @@ processResources
exclude '**/Thumbs.db'
}
+jar {
+ archiveName = archivesBaseName + "-" + version + ".jar"
+ manifest {
+ attributes 'FMLCorePlugin': 'gtPlusPlus.preloader.asm.Preloader_FMLLoadingPlugin'
+ attributes 'FMLCorePluginContainsFMLMod': 'true'
+ }
+}
+
task sourceJar(type: Jar) {
from sourceSets.main.allSource
classifier = 'sources'