Skip to content

Commit 11eaf61

Browse files
authored
add publishMods to subprojects
1 parent b6414e5 commit 11eaf61

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,11 @@ publishing {
179179
}
180180

181181
subprojects {
182-
github {
183-
accessToken = providers.environmentVariable("GITHUB_TOKEN")
184-
parent project(":").tasks.named("publishGithub")
182+
publishMods {
183+
github {
184+
accessToken = providers.environmentVariable("GITHUB_TOKEN")
185+
parent project(":").tasks.named("publishGithub")
186+
}
185187
}
186188
}
187189

0 commit comments

Comments
 (0)