aboutsummaryrefslogtreecommitdiff
path: root/neoforge
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2024-10-26 17:05:08 +0800
committershedaniel <daniel@shedaniel.me>2024-10-26 17:05:08 +0800
commitf8bd895afcf87805c258ee543795391b1e361054 (patch)
treeb6dd7ed71d7cac47efd4675dbea19cd2288e2798 /neoforge
parent0dd7d2b83c1b9217e7f48b4e7c07f338b00302dd (diff)
parenta8b69f3c95ebbf615c75b09871f09e976836a948 (diff)
downloadRoughlyEnoughItems-f8bd895afcf87805c258ee543795391b1e361054.tar.gz
RoughlyEnoughItems-f8bd895afcf87805c258ee543795391b1e361054.tar.bz2
RoughlyEnoughItems-f8bd895afcf87805c258ee543795391b1e361054.zip
Merge remote-tracking branch 'origin/14.x-1.20.4' into 15.x-1.20.515.x-1.20.5
Diffstat (limited to 'neoforge')
-rw-r--r--neoforge/build.gradle7
1 files changed, 4 insertions, 3 deletions
diff --git a/neoforge/build.gradle b/neoforge/build.gradle
index c185f5654..bb583825f 100644
--- a/neoforge/build.gradle
+++ b/neoforge/build.gradle
@@ -147,15 +147,16 @@ publishing {
project.afterEvaluate {
def project = project(":" + projectName)
remapMojang.inputFile = project.fakeForgeJar.archiveFile
- publication.artifact(remapMojang) { classifier null }
+ def normalArtifact, sourceArtifact
+ publication.artifact(remapMojang) { classifier null; normalArtifact = it }
publication.artifact(remapMojangSourcesJar) {
builtBy remapMojangSourcesJar
classifier "sources"
+ sourceArtifact = it
}
- // Hack to inherit the dependencies without inheriting the artifacts
- publication.setArtifacts(publication.artifacts)
from components.java
+ publication.setArtifacts([normalArtifact, sourceArtifact])
}
}
}