build.gradle.kts: replace listOf().filterNotNull() with listOfNotNull()
This commit is contained in:
committed by
Mikhail Glukhikh
parent
253ae10e5f
commit
e82544ffb0
+2
-2
@@ -6,11 +6,11 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
|
||||
|
||||
buildscript {
|
||||
val repos = listOf(
|
||||
val repos = listOfNotNull(
|
||||
System.getProperty("bootstrap.kotlin.repo"),
|
||||
"https://repo.gradle.org/gradle/repo",
|
||||
"https://plugins.gradle.org/m2",
|
||||
"http://repository.jetbrains.com/utils/").filterNotNull()
|
||||
"http://repository.jetbrains.com/utils/")
|
||||
|
||||
extra["bootstrapKotlinVersion"] = bootstrapKotlinVersion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user