File tree Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Expand file tree Collapse file tree 3 files changed +38
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ fun Project.additionalConfiguration() {
13
13
platforms.forEach { platform ->
14
14
val gradleBuild = knownBuilds.buildOn(platform).steps.items.single() as GradleBuildStep
15
15
gradleBuild.tasks + = " " + fastBenchmarkTasks(platform)
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
+ }
16
21
}
17
22
18
23
deployPlugin()
@@ -24,6 +29,9 @@ fun fastBenchmarkTasks(platform: Platform): String {
24
29
).joinToString(separator = " " , transform = { " ${it} FastBenchmark" })
25
30
}
26
31
32
+
33
+ // deploy plugin to Gradle Plugin Portal
34
+
27
35
const val gradlePublishKey = " gradle.publish.key"
28
36
const val gradlePublishSecret = " gradle.publish.secret"
29
37
@@ -57,4 +65,4 @@ fun Project.deployPlugin() = BuildType {
57
65
gradleWrapperPath = " "
58
66
}
59
67
}
60
- }.also { buildType(it) }
68
+ }.also { buildType(it) }
Original file line number Diff line number Diff line change @@ -113,3 +113,18 @@ task createClasspathManifest {
113
113
file(" $outputDir /plugin-classpath.txt" ). text = (sourceSets. main. runtimeClasspath + configurations. testPluginClasspath). join(" \n " )
114
114
}
115
115
}
116
+
117
+
118
+ // publish to Space repository
119
+ publishing {
120
+ repositories {
121
+ maven {
122
+ name = " space"
123
+ url = " https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/dev"
124
+ credentials {
125
+ username = project. findProperty(" space.user" )
126
+ password = project. findProperty(" space.token" )
127
+ }
128
+ }
129
+ }
130
+ }
Original file line number Diff line number Diff line change @@ -71,3 +71,17 @@ kotlin {
71
71
}
72
72
}
73
73
74
+
75
+ // publish to Space repository
76
+ publishing {
77
+ repositories {
78
+ maven {
79
+ name = " space"
80
+ url = " https://maven.pkg.jetbrains.space/kotlin/p/kotlinx/dev"
81
+ credentials {
82
+ username = project. findProperty(" space.user" )
83
+ password = project. findProperty(" space.token" )
84
+ }
85
+ }
86
+ }
87
+ }
You can’t perform that action at this time.
0 commit comments