We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fb6845 commit 80c8241Copy full SHA for 80c8241
plugin/build.gradle.kts
@@ -28,7 +28,6 @@ plugins {
28
kotlin("jvm") version "1.9.0"
29
}
30
31
-apply(plugin = "org.jetbrains.kotlin.jvm")
32
apply(plugin = "kotlinx.team.infra")
33
34
configure<InfraExtension> {
settings.gradle.kts
@@ -2,10 +2,8 @@ pluginManagement {
2
repositories {
3
gradlePluginPortal()
4
val kotlin_repo_url: String? by settings
5
- kotlin_repo_url?.let { repoUrl ->
6
- if (repoUrl.isNotEmpty()) {
7
- maven { url = uri(repoUrl) }
8
- }
+ kotlin_repo_url?.takeIf { it.isNotEmpty() }?.let { repoUrl ->
+ maven { url = uri(repoUrl) }
9
10
11
0 commit comments