Kotlin / kotlin-frontend-plugin

Gradle Kotlin (http://kotlinlang.org) plugin for frontend development
Apache License 2.0
561 stars 69 forks source link

karma.config.d specified for property '$1' does not exist #86

Open MikeMitterer opened 6 years ago

MikeMitterer commented 6 years ago

I played with frontend-only examples

I got

> Task :karma-config UP-TO-DATE
A problem was found with the configuration of task ':karma-config'. Registering invalid inputs and outputs via TaskInputs and TaskOutputs methods has been deprecated and is scheduled to be removed in Gradle 5.0.
 - Directory '/Volumes/Daten/DevLocal/DevKotlin/Test/kotlin-frontend-plugin/examples/frontend-only/karma.config.d' specified for property '$1' does not exist.

after adding the karma.config.d directory this error is gone...

cy6erGn0m commented 6 years ago

Yeah, it's because of stupid Gradle API that doesn't allow me to have optional input directories. The only way is to not consider config parts in incremental build (so modifying them wouldn't trigger build)