Skip to content

Commit 7e0b40b

Browse files
committed
Added grpc release repo (#257)
1 parent 83bc2c0 commit 7e0b40b

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

gradle-conventions/src/main/kotlin/conventions-publishing.gradle.kts

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright 2023-2025 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

55
import util.*
@@ -26,7 +26,8 @@ if (isPublicModule) {
2626
fun PublishingExtension.configurePublication() {
2727
repositories {
2828
configureSonatypeRepository()
29-
configureSpaceRepository()
29+
configureSpaceEapRepository()
30+
configureSpaceGrpcRepository()
3031
configureForIdeRepository()
3132
configureLocalDevRepository()
3233
}
@@ -110,12 +111,21 @@ fun MavenPom.configureMavenCentralMetadata() {
110111
}
111112
}
112113

113-
fun RepositoryHandler.configureSpaceRepository() {
114+
fun RepositoryHandler.configureSpaceEapRepository() {
114115
configureRepository(project) {
115116
username = "SPACE_USERNAME"
116117
password = "SPACE_PASSWORD"
117118
name = "space"
118-
url = "https://maven.pkg.jetbrains.space/public/p/krpc/maven"
119+
url = "https://maven.pkg.jetbrains.space/public/p/krpc/eap"
120+
}
121+
}
122+
123+
fun RepositoryHandler.configureSpaceGrpcRepository() {
124+
configureRepository(project) {
125+
username = "SPACE_USERNAME"
126+
password = "SPACE_PASSWORD"
127+
name = "grpc"
128+
url = "https://maven.pkg.jetbrains.space/public/p/krpc/grpc"
119129
}
120130
}
121131

0 commit comments

Comments
 (0)