File tree 3 files changed +5
-10
lines changed
3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,15 @@ buildscript {
20
20
apply (plugin = " kotlinx.team.infra" )
21
21
22
22
configure<InfraExtension > {
23
- teamcity {
24
- libraryStagingRepoDescription = project.name
25
- }
26
-
27
23
publishing {
28
24
include(" :kotlinx-benchmark-runtime" )
29
25
30
26
libraryRepoUrl = " https://github.com/Kotlin/kotlinx-benchmark"
31
27
32
28
if (project.findProperty(" publication_repository" ) == " sonatype" ) {
33
- sonatype {}
29
+ sonatype {
30
+ libraryStagingRepoDescription = project.name
31
+ }
34
32
}
35
33
}
36
34
}
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ plugins {
28
28
kotlin(" jvm" ) version " 1.9.0"
29
29
}
30
30
31
- apply (plugin = " org.jetbrains.kotlin.jvm" )
32
31
apply (plugin = " kotlinx.team.infra" )
33
32
34
33
configure<InfraExtension > {
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ pluginManagement {
2
2
repositories {
3
3
gradlePluginPortal()
4
4
val kotlin_repo_url: String? by settings
5
- kotlin_repo_url?.let { repoUrl ->
6
- if (repoUrl.isNotEmpty()) {
7
- maven { url = uri(repoUrl) }
8
- }
5
+ kotlin_repo_url?.takeIf { it.isNotEmpty() }?.let { repoUrl ->
6
+ maven { url = uri(repoUrl) }
9
7
}
10
8
}
11
9
}
You can’t perform that action at this time.
0 commit comments