diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 5af53419bb..7edbb5fad2 100644 --- a/build.gradle +++ b/build.gradle @@ -41,4 +41,22 @@ targetCompatibility = 1.7 archivesBaseName = "MiscUtils" version = "0.9.8" -minecraft.version = "1.7.10-10.13.4.1448-1.7.10"
\ No newline at end of file +minecraft.version = "1.7.10-10.13.4.1448-1.7.10" + +task sourceJar(type: Jar) { + from sourceSets.main.allSource + classifier = 'sources' +} + +task devJar(type: Jar) { + from sourceSets.main.output + classifier = 'dev' + manifest { + //attributes 'FMLCorePlugin': 'WhateverLoaderClass' + //attributes 'FMLCorePluginContainsFMLMod': 'true' + } +} + +artifacts { + archives devJar +}
\ No newline at end of file |