Skip to content

Commit

Permalink
remove plugin applied twice and teamcity block
Browse files Browse the repository at this point in the history
  • Loading branch information
wldeh committed Sep 7, 2023
1 parent 4fb6845 commit 80c8241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ plugins {
kotlin("jvm") version "1.9.0"
}

apply(plugin = "org.jetbrains.kotlin.jvm")
apply(plugin = "kotlinx.team.infra")

configure<InfraExtension> {
Expand Down
6 changes: 2 additions & 4 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ pluginManagement {
repositories {
gradlePluginPortal()
val kotlin_repo_url: String? by settings
kotlin_repo_url?.let { repoUrl ->
if (repoUrl.isNotEmpty()) {
maven { url = uri(repoUrl) }
}
kotlin_repo_url?.takeIf { it.isNotEmpty() }?.let { repoUrl ->
maven { url = uri(repoUrl) }
}
}
}
Expand Down

0 comments on commit 80c8241

Please sign in to comment.