File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ plugins {
1212 id " com.gradle.build-scan" version " 1.9"
1313 id " com.matthewprenger.cursegradle" version " 1.0.9"
1414 id " se.bjurr.gitchangelog.git-changelog-gradle-plugin" version " 1.53"
15+ id " com.github.johnrengelman.shadow" version " 2.0.2"
1516}
1617
1718apply plugin : ' net.minecraftforge.gradle.forge'
@@ -84,6 +85,14 @@ task deobfJar(type: Jar) {
8485 mustRunAfter " jar"
8586}
8687
88+ shadowJar {
89+ dependencies {
90+ include(dependency {
91+ it. moduleGroup == ' org.eclipse.mylyn.github'
92+ })
93+ }
94+ }
95+
8796curseforge {
8897 if (project. hasProperty(" thecursedkey" )) {
8998 apiKey = project. thecursedkey
@@ -101,7 +110,7 @@ curseforge{
101110 changelogType = ' html'
102111 releaseType = " alpha"
103112 addGameVersion minecraft. version
104- mainArtifact(jar ) {
113+ mainArtifact(shadowJar ) {
105114 displayName = " BloodDebug ${ project.version} -UNSTABLE build " + project. getBuildNumber() + " for " + minecraft. version
106115 }
107116 addArtifact (deobfJar){
You can’t perform that action at this time.
0 commit comments