Skip to content

Commit 8a83067

Browse files
committed
feat: add NoctisUI build dependencies for remapping and sources JARs
1 parent 6d55482 commit 8a83067

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

build.gradle

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,15 @@ publishing {
105105
groupId = project.maven_group
106106
artifactId = project.archives_base_name
107107
version = project.version
108-
109-
from components.java
108+
109+
artifact(tasks.named("remapJar")) {
110+
builtBy(tasks.named("remapJar"))
111+
}
112+
113+
artifact(tasks.named("sourcesJar")) {
114+
classifier = "sources"
115+
builtBy tasks.named("sourcesJar")
116+
}
110117

111118
pom {
112119
name = 'NoctisUI'

0 commit comments

Comments
 (0)