<@U19KH865D> FYI I'm using Kotlin for DSL, and it'...
# gradle
b
@hansd FYI I'm using Kotlin for DSL, and it's pluggable as well, but instead of doing string manipulations I parse CST (not AST, because classpath is incomplete) from the source and then perform lookups on imports (CoC) and special method calls (i.e.
plugins (varargs plugins: String)
with strict limitation of "no code before plugins block" and "only constants allowed". Right now it's pretty raw and not reusable but I think I can share it in the near future. Also, I would really love to see some collaboration between Kobalt, Gradle, and projects like mine to create one simple KEEP proposal ( https://github.com/Kotlin/KEEP ) for script dependencies (i.e. something similar to Groovy's Grapes)