https://kotlinlang.org logo
Title
h

hastebrot

06/26/2017, 2:17 PM
Unsupported declaration type: VALUE_PARAMETER File name: build.gradle.kts Physical: true Injected: false
val SourceSet.kotlin: SourceDirectorySet
    get() = (this as HasConvention).convention.getPlugin<KotlinSourceSet>().kotlin
var SourceDirectorySet.sourceDirs: Iterable<File>
    get() = srcDirs
    set(<caret>value) { setSrcDirs(value) }
Using:
distributionUrl=https\://repo.gradle.org/gradle/dist-snapshots/gradle-kotlin-dsl-4.1-20170624053347+0000-all.zip
p

pavel.talanov

06/26/2017, 2:48 PM
hastebrot: Reported https://youtrack.jetbrains.com/issue/KT-18676 to track this issue. Seems there is a problem with custom setters in script files.