Skip to content

Commit c525a05

Browse files
committed
Minor change to settings DSL
1 parent 2058f6e commit c525a05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-settings/src/main/kotlin/cksettings/ProjectsScope.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*
2-
* Copyright (c) 2023-2024 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
2+
* Copyright (c) 2023-2025 Oleg Yukhnevich. Use of this source code is governed by the Apache 2.0 license.
33
*/
44

55
package cksettings
66

77
import org.gradle.api.initialization.*
88

9-
fun Settings.projects(rootProjectName: String, block: ProjectsScope.() -> Unit) {
9+
fun Settings.projects(rootProjectName: String, block: ProjectsScope.() -> Unit = {}) {
1010
rootProject.name = rootProjectName
1111
ProjectsScope(settings, emptyList(), emptyList()).apply(block)
1212
}

0 commit comments

Comments
 (0)