citizenmatt09/25/2018, 7:47 AM
files? I'm a complete newbie to the Kotlin DSL and struggling with getting plugins to work in a
file, and it would be nice to see how others have done it.
gildor09/25/2018, 8:08 AM
citizenmatt09/25/2018, 8:34 AM
. I've got a lot of tasks, more so than actual logic, so I thought it was more reasonable for them to be in
file(s). The samples repo shows using multiple
files, but doesn't show anything about using plugins in those included files, and that's where I'm hitting unresolved symbol errors
gildor09/25/2018, 8:35 AM
citizenmatt09/25/2018, 9:04 AM
gildor09/25/2018, 9:06 AM
dsl, so you cannot use any type safe API of Kotlin DSL. There are some other ways, use buildscript or add plugins as dependencies to buildSrc (will be available in script plugins too)
citizenmatt09/25/2018, 9:17 AM
and whatnot. Thanks for the help!
gildor09/25/2018, 9:41 AM