accessors

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move kotlin-dsl in a sub directory

  1. … 1579 more files in changeset.
Prefer sourceSets extension over access via java convention in build

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 4 more files in changeset.
Simplify kotlin-dsl-plugin-bundle plugin

by using a simple function to configure gradlePlugin and pluginBundle

extensions, alleviating ordering problems caused by upstream publishing

configuration changes in java-gradle-plugin plugin after making

publishing {} not a @DeferredConfigurable anymore.

  1. … 5 more files in changeset.
Convert `KotlinLibrary` plugin to precompiled script plugin

  1. … 4 more files in changeset.
Dedupe accessors in `buildSrc`

  1. … 4 more files in changeset.
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

  1. … 528 more files in changeset.
Remove unused member

Resolve merge conflicts

# Conflicts:

# buildSrc/build.gradle.kts

# buildSrc/src/main/kotlin/accessors/accessors.kt

  1. … 1 more file in changeset.
Polish ide-configuration plugin types

by fixing formatting and imports

and introducing used buildSrc accessors

and simplifying some expressions

and using kotlin-stdlib more

  1. … 2 more files in changeset.
Migrate code quality configuration to Kotlin.

  1. … 7 more files in changeset.
Extract `groovy` accessor

  1. … 3 more files in changeset.
Convert the ClasspathManifest task to Kotlin

This is the first conversion in this batch where the target type

references other Groovy types from buildSrc.

Here ClasspathManifest references ReproduciblePropertiesWriter.

Some extra configuration was added to the buildSrc build:

- remove the dependency from groovy to java, added by groovy-base

it is not needed anyway

- add a dependency from kotlin to groovy

Other than that, quite straightforward conversion, an accessor to the

`base` convention was added.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 3 more files in changeset.
Convert the Classycle plugin to Kotlin

The plugin implementation is quite straightforward but a few things

require an explanation.

In `buildSrc`, the Kotlin DSL can't know what plugins are to be applied.

There's no plugins {} block. This prevents having generated static

Kotlin extensions for Gradle extensions, conventions or configurations.

To make the Kotlin code closer to what you would have in a .gradle.kts

file, the Kotlin extensions on which the Classycle plugin depends, are

declared explicitly, see `accessors.kt`.

The Classycle task makes use of the internal IsolatedAntBuilder that

relies on Groovy method missing, this is handled thanks to the

withGroovyBuilder {} helper provided by the Kotlin DSL.

Signed-off-by: Paul Merlin <paul@gradle.com>

  1. … 4 more files in changeset.