File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed
Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -194,12 +194,7 @@ Include native libraries for SDL3 in the jar.
194194
195195val releaseModVersion by tasks.registering {
196196 group = " controlify/versioned"
197-
198197 dependsOn(" publishMods" )
199-
200- if (! project.publishMods.dryRun.get()) {
201- dependsOn(" publish" )
202- }
203198}
204199createActiveTask(releaseModVersion)
205200
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ plugins {
1313
1414stonecutter active file(" versions/current" )
1515
16- // subprojects depend themselves on this task
17- val releaseModVersions by tasks.registering {
18- group = " controlify"
19- }
20-
2116// download the most up to date controller database for SDL2
2217val downloadHidDb by tasks.registering(Download ::class ) {
2318 finalizedBy(" convertHidDBToSDL3" )
@@ -51,6 +46,8 @@ val modVersion: String by project
5146version = modVersion
5247
5348publishMods {
49+ dryRun = false
50+
5451 val modChangelog = provider {
5552 rootProject.file(" changelog.md" )
5653 .takeIf { it.exists() }
@@ -70,6 +67,15 @@ publishMods {
7067 )
7168}
7269
70+ // subprojects depend themselves on this task
71+ val releaseModVersions by tasks.registering {
72+ group = " controlify"
73+
74+ if (! publishMods.dryRun.get()) {
75+ dependsOn(" publishAggregationToCentralPortal" )
76+ }
77+ }
78+
7379nmcpAggregation {
7480 centralPortal {
7581 username = secrets.gradleProperty(" mcentral.username" )
You can’t perform that action at this time.
0 commit comments