~/talk

Implementing the Gradle Kotlin DSL

Talkat KotlinConf 2019 · 2019-12-04..12-06· [kotlin]
links:none on file
slides:none on file

Code and tooling details matter: the Gradle Kotlin DSL is implemented by building on Kotlin scripting and the new type‑inference engine, using multi-stage programming and partial evaluation to preprocess plugin blocks, generate Kotlin accessor stubs for contributed extensions, and update the classpath before compilation. A Kotlin ScriptingHost evaluates scripts against a script definition and a script compilation configuration. The implementation preserves Java parameter names, injects nullability annotations, delivers IDE completion/refactoring/navigation, and succeeds in production as the Gradle Kotlin DSL.

AI-written summary · about

  1. 0:00Introduction
  2. 3:15First commit of Gradle
  3. 4:12Paying our dues
  4. 4:32New Keep
  5. 5:03Scripting
  6. 5:31Turtle Graphics
  7. 6:16Commands
  8. 6:46Turtle Program
  9. 8:53Writing an App
  10. 12:48Scripting Experience
  11. 14:49Kotlin Script Compilation Configuration
  12. 16:12Executing the Script
  13. 17:03More Complex Example
  14. 17:43Project Interface
  15. 19:00Project Editor
  16. 19:55Safety
  17. 20:26Plugins
  18. 21:18Parameter names
  19. 23:40Script Configuration
  20. 25:03Experience
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.