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 2058f6e commit c525a05Copy full SHA for c525a05
build-settings/src/main/kotlin/cksettings/ProjectsScope.kt
@@ -1,12 +1,12 @@
1
/*
2
- * Copyright (c) 2023-2024 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
+ * Copyright (c) 2023-2025 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
3
*/
4
5
package cksettings
6
7
import org.gradle.api.initialization.*
8
9
-fun Settings.projects(rootProjectName: String, block: ProjectsScope.() -> Unit) {
+fun Settings.projects(rootProjectName: String, block: ProjectsScope.() -> Unit = {}) {
10
rootProject.name = rootProjectName
11
ProjectsScope(settings, emptyList(), emptyList()).apply(block)
12
}
0 commit comments