Skip to content

Commit 18eafb8

Browse files
authored
Merge pull request #61 from AxenoDev/fix/remapjar
HotFix remap public
2 parents ecdfd24 + fa34bba commit 18eafb8

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/release-published.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
3030
GITHUB_ACTOR: ${{ github.actor }}
3131
TAG: ${{ github.event.release.tag_name }}
32-
run: ./gradlew publish
32+
run: ./gradlew remapJar publish
3333

3434
notify-discord:
3535
runs-on: ubuntu-latest

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)