TaskPropertyValidationPlugin.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add attributes to `validationRuntime` configuration

So it works with composite build.

Add attributes to `validationRuntime` configuration

So it works with composite build.

Make attribute definitions more precise

There were two places in the build where attributes were added

to all configurations. This can have unexpected side effects, for

example in publishing where we would then publish a (custom) attribute.

With this commit, things are now expressed more precisely and adding

attributes everywhere is avoided. Because of disambiguity, some

resolvable configurations need to express more precisely what they need

and thus LIBRARY_ELEMENTS_ATTRIBUTE = LibraryElements.JAR was added

to them.

  1. … 7 more files in changeset.
Use ValidatePlugins in buildSrc (and upgrade wrapper)

  1. … 4 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 55 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 56 more files in changeset.
Remove utilisation of *-jars usage values

  1. … 56 more files in changeset.
Let `TaskPropertyValidationPlugin` configure existing task

For compatibility with projects which make use of `java-gradle-plugin`

such as `:kotlinDslPlugins`.

    • -17
    • +35
    ./TaskPropertyValidationPlugin.kt
Let `TaskPropertyValidationPlugin` configure existing task

For compatibility with projects which make use of `java-gradle-plugin`

such as `:kotlinDslPlugins`.

    • -17
    • +35
    ./TaskPropertyValidationPlugin.kt
Change `PropertyValidationAccess` so that it discovers annotation handlers in the same way as the build process, rather than hard-coding a fixed set of handlers.

    • -54
    • +29
    ./TaskPropertyValidationPlugin.kt
  1. … 6 more files in changeset.
Change `PropertyValidationAccess` so that it discovers annotation handlers in the same way as the build process, rather than hard-coding a fixed set of handlers.

    • -54
    • +29
    ./TaskPropertyValidationPlugin.kt
  1. … 6 more files in changeset.
Enable stricter validation

  1. … 7 more files in changeset.
Remove usage of deprecated APIs

  1. … 2 more files in changeset.
Allow enabling stricter task validation (#7408)

So all tasks can be validated as if they were cacheable tasks.

  1. … 9 more files in changeset.
Polish Kotlin build scripts and plugins

- Favour `KClass` based overloads wherever possible

  1. … 14 more files in changeset.
Convert `createLater` to `register`

  1. … 3 more files in changeset.
Convert `binary-compatibility`, `buildquality`, `cleanup`, `configuration`, `docs`, and `ide` subprojects

  1. … 8 more files in changeset.
Realize fewer tasks in the gradle/gradle build

  1. … 1 more file in changeset.
Apply ktlint-convention rules to Kotlin code in buildSrc

  1. … 56 more files in changeset.
Added gradlebuild namespace to plugins and more modularization in buildSrc

- Added to all plugins in buildSrc "gradlebuild." to their id

- Shortened plugin names

- Added ide and docs as additional modules

- Applied java-library plugin to Kotlin projects to model dependencies

    • -0
    • +96
    ./TaskPropertyValidationPlugin.kt
  1. … 86 more files in changeset.