Skip to content

Commit 8df9116

Browse files
chore: configure slneReleases repository for publishing in all subprojects
1 parent 600fa08 commit 8df9116

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

build.gradle.kts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import dev.slne.surf.surfapi.gradle.util.slneReleases
2+
13
buildscript {
24
repositories {
35
gradlePluginPortal()
@@ -11,4 +13,16 @@ buildscript {
1113
allprojects {
1214
group = "dev.slne.surf.tab"
1315
version = findProperty("version") as String
16+
}
17+
18+
subprojects {
19+
afterEvaluate {
20+
plugins.withType<PublishingPlugin> {
21+
configure<PublishingExtension> {
22+
repositories {
23+
slneReleases()
24+
}
25+
}
26+
}
27+
}
1428
}

0 commit comments

Comments
 (0)