Use receiver syntax for lambda execution (#2508)
This commit is contained in:
committed by
Sergey Igushkin
parent
ddc5a62e4a
commit
45ab07654e
+1
-2
@@ -73,8 +73,7 @@ abstract class AbstractKotlinCompilation<T : KotlinCommonOptions>(
|
||||
override val defaultSourceSet: KotlinSourceSet
|
||||
get() = target.project.kotlinExtension.sourceSets.getByName(defaultSourceSetName)
|
||||
|
||||
override fun defaultSourceSet(configure: KotlinSourceSet.() -> Unit) =
|
||||
configure(defaultSourceSet)
|
||||
override fun defaultSourceSet(configure: KotlinSourceSet.() -> Unit) = defaultSourceSet.configure()
|
||||
|
||||
override val output: KotlinCompilationOutput by lazy {
|
||||
DefaultKotlinCompilationOutput(
|
||||
|
||||
Reference in New Issue
Block a user