mkobit
12/06/2017, 10:48 PMtasks.getting
is working for me for all val dokka by tasks.getting
and tasks { val dokka by getting(DokkaTask::class) }
, and val dokka by tasks.getting(DokkaTask::class)
napperley
12/06/2017, 11:16 PMmkobit
12/06/2017, 11:24 PMnapperley
12/06/2017, 11:30 PMmkobit
12/06/2017, 11:31 PMbuild.gradle.kts
- what was failing for you with the getting
? was the build.gradle.kts
script failing to compile?napperley
12/06/2017, 11:32 PMnapperley
12/06/2017, 11:37 PMCould not open cache directory 30ykzcb62p64x023wp0i1xrws (/home/napperley/.gradle/caches/4.4/gradle-kotlin-dsl/30ykzcb62p64x023wp0i1xrws).
mkobit
12/06/2017, 11:38 PMnapperley
12/06/2017, 11:39 PMmkobit
12/06/2017, 11:43 PMnapperley
12/06/2017, 11:46 PM1. Rename build.gradle.kts to build.gradle.kts.bak
2. Create build.gradle file
3. Update the Gradle wrapper
napperley
12/06/2017, 11:54 PMmkobit
12/06/2017, 11:56 PM"compile"
part may be specific to how the Kotlin JS Gradle plugin is written and not beging as friendly to the kotlin-dsl
napperley
12/07/2017, 12:31 AMeskatos
12/07/2017, 8:35 AMplugins {}
block
see https://github.com/gradle/kotlin-dsl/blob/master/doc/getting-started/Configuring-Plugins.mdeskatos
12/07/2017, 8:37 AMplugins {}
block by default because it is improperly published, also see https://youtrack.jetbrains.com/issue/KT-20156eskatos
12/07/2017, 8:37 AMnapperley
12/07/2017, 8:51 AMeskatos
12/07/2017, 8:54 AM