Nikky
03/03/2019, 9:13 PMsample/
as a gradle project (or open it in separate idea window, i never do that though, not sure how well it works)ilya.chernikov
03/04/2019, 2:37 PMilya.chernikov
03/04/2019, 2:38 PM[kts]
prefix there.Nikky
03/04/2019, 2:44 PMide.acceptedLocations.append(ScriptAcceptedLocation.Project)
and the thing is just added as a dependency by gradle
i would have thought it would use the fat-jar completely, i am sure it contains the class that is failing, because it works out running by itselfilya.chernikov
03/04/2019, 3:04 PMilya.chernikov
03/04/2019, 3:06 PMNikky
03/04/2019, 3:06 PMNikky
03/04/2019, 3:07 PMNikky
03/04/2019, 3:09 PM@file:FromPage("data")
and
val data: DataFrame by inject()
Nikky
03/04/2019, 3:10 PMilya.chernikov
03/04/2019, 3:18 PMidea gradle plugin
- https://docs.gradle.org/current/userguide/idea_plugin.html that may help you to setup source roots, but I’m not familiar with it myself. Or maybe there is a way to skip certain source roots in the gradle compile tasks.
In any case, the best approach would be an IDEA plugin. For a moment we are considering either some lightweight way to make plugins from a gradle build (e.g. via buildSrc) or some way to help users to discover a plugin by e.g. script filename extension.Nikky
03/04/2019, 3:44 PMidea { module { sourceDirs.append(...) }}
Nikky
03/04/2019, 3:51 PM