build.gradle.kts: replace listOf().filterNotNull() with listOfNotNull()

This commit is contained in:
Kirill Rakhman
2017-09-24 02:21:26 +03:00
committed by Mikhail Glukhikh
parent 253ae10e5f
commit e82544ffb0
+2 -2
View File
@@ -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