File tree Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Expand file tree Collapse file tree 3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -20,17 +20,15 @@ buildscript {
2020apply (plugin = " kotlinx.team.infra" )
2121
2222configure<InfraExtension > {
23- teamcity {
24- libraryStagingRepoDescription = project.name
25- }
26-
2723 publishing {
2824 include(" :kotlinx-benchmark-runtime" )
2925
3026 libraryRepoUrl = " https://github.com/Kotlin/kotlinx-benchmark"
3127
3228 if (project.findProperty(" publication_repository" ) == " sonatype" ) {
33- sonatype {}
29+ sonatype {
30+ libraryStagingRepoDescription = project.name
31+ }
3432 }
3533 }
3634}
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ plugins {
2828 kotlin(" jvm" ) version " 1.9.0"
2929}
3030
31- apply (plugin = " org.jetbrains.kotlin.jvm" )
3231apply (plugin = " kotlinx.team.infra" )
3332
3433configure<InfraExtension > {
Original file line number Diff line number Diff line change @@ -2,10 +2,8 @@ pluginManagement {
22 repositories {
33 gradlePluginPortal()
44 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) }
97 }
108 }
119}
You can’t perform that action at this time.
0 commit comments