Skip to content

Commit 1aeb7be

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Publish :plugin and :runtime to Space besides GPP and Sonatype
1 parent 2705318 commit 1aeb7be

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

.teamcity/additionalConfiguration.kt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ fun Project.additionalConfiguration() {
1313
platforms.forEach { platform ->
1414
val gradleBuild = knownBuilds.buildOn(platform).steps.items.single() as GradleBuildStep
1515
gradleBuild.tasks += " " + "fastBenchmark"
16+
17+
knownBuilds.deployOn(platform).params {
18+
param("system.space.user", "abduqodiri.qurbonzoda")
19+
password("system.space.token", "credentialsJSON:7aa03210-1f86-452e-b786-920f8a321b7d")
20+
}
1621
}
1722

1823
deployPlugin()

plugin/build.gradle

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,18 @@ task createClasspathManifest {
116116
file("$outputDir/plugin-classpath.txt").text = (sourceSets.main.runtimeClasspath + configurations.testPluginClasspath).join("\n")
117117
}
118118
}
119+
120+
121+
// publish to Space repository
122+
publishing {
123+
repositories {
124+
maven {
125+
name = "space"
126+
url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/dev"
127+
credentials {
128+
username = project.findProperty("space.user")
129+
password = project.findProperty("space.token")
130+
}
131+
}
132+
}
133+
}

runtime/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,17 @@ kotlin {
8383
}
8484
}
8585

86+
87+
// publish to Space repository
88+
publishing {
89+
repositories {
90+
maven {
91+
name = "space"
92+
url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/dev"
93+
credentials {
94+
username = project.findProperty("space.user")
95+
password = project.findProperty("space.token")
96+
}
97+
}
98+
}
99+
}

0 commit comments

Comments
 (0)