Skip to content

Commit 80c8241

Browse files
committed
remove plugin applied twice and teamcity block
1 parent 4fb6845 commit 80c8241

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

plugin/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ plugins {
2828
kotlin("jvm") version "1.9.0"
2929
}
3030

31-
apply(plugin = "org.jetbrains.kotlin.jvm")
3231
apply(plugin = "kotlinx.team.infra")
3332

3433
configure<InfraExtension> {

settings.gradle.kts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)