Skip to content

Commit 9185fe2

Browse files
committed
Add kotlin_repo_url to all included builds
1 parent f0cb819 commit 9185fe2

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

build-logic/settings.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
*/
44

55
pluginManagement {
6+
// Add repositories required for build-settings-logic
7+
repositories {
8+
gradlePluginPortal()
9+
10+
// Should be in sync with ktorsettings.kotlin-user-project
11+
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
12+
if (kotlinRepoUrl != null) maven(kotlinRepoUrl) { name = "KotlinDev" }
13+
}
14+
615
includeBuild("../build-settings-logic")
716
}
817

ktor-test-server/settings.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
*/
44

55
pluginManagement {
6+
// Add repositories required for build-settings-logic
7+
repositories {
8+
gradlePluginPortal()
9+
10+
// Should be in sync with ktorsettings.kotlin-user-project
11+
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
12+
if (kotlinRepoUrl != null) maven(kotlinRepoUrl) { name = "KotlinDev" }
13+
}
14+
615
includeBuild("../build-settings-logic")
716
}
817

settings.gradle.kts

+9
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ enableFeaturePreview("STABLE_CONFIGURATION_CACHE")
66
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
77

88
pluginManagement {
9+
// Add repositories required for build-settings-logic
10+
repositories {
11+
gradlePluginPortal()
12+
13+
// Should be in sync with ktorsettings.kotlin-user-project
14+
val kotlinRepoUrl = providers.gradleProperty("kotlin_repo_url").orNull
15+
if (kotlinRepoUrl != null) maven(kotlinRepoUrl) { name = "KotlinDev" }
16+
}
17+
918
includeBuild("build-settings-logic")
1019
}
1120

0 commit comments

Comments
 (0)