PluginAccessorsClassPath.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Emit bytecode for configuration and extension accessors directly

  1. … 9 more files in changeset.
Emit bytecode for plugin spec builders directly

This makes code generation faster by a factor of 100 which means it

now takes a few dozen milliseconds rather than a few seconds.

    • -37
    • +242
    ./PluginAccessorsClassPath.kt
  1. … 16 more files in changeset.
Introduce type-safe accessors for plugin ids

Starting with this commit, the Kotlin DSL will generate type-safe

accessors for all plugin ids found in the `buildSrc` classpath.

So instead of writing:

```kotlin

plugins {

id("gradlebuild.strict-compile")

id("gradlebuild.classcycle")

}

```

One can write:

```kotlin

plugins {

gradlebuild.`strict-compile`

gradlebuild.classcycle

}

```

All while enjoying content assist and source code navigation all the

way down to the plugin implementation class.

    • -0
    • +200
    ./PluginAccessorsClassPath.kt
  1. … 17 more files in changeset.