BuildVersionPlugin.kt

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move remaining bits of `versioning.gradle` to `BuildVersionPlugin`

And move `BuildVersionPlugin` to the `plugins` project in the process so it has

access to the `buildTypes` extension.

  1. … 5 more files in changeset.
Move remaining bits of `versioning.gradle` to `BuildVersionPlugin`

And move `BuildVersionPlugin` to the `plugins` project in the process so it has

access to the `buildTypes` extension.

  1. … 5 more files in changeset.
Move registration of tasks from `build-receipt.gradle` to `BuildVersionPlugin`

So the required property values don't have to be shared via extra properties.

  1. … 2 more files in changeset.
Move registration of tasks from `build-receipt.gradle` to `BuildVersionPlugin`

So the required property values don't have to be shared via extra properties.

  1. … 2 more files in changeset.
Move registration of tasks from `build-receipt.gradle` to `BuildVersionPlugin`

So the required property values don't have to be shared via extra properties.

  1. … 2 more files in changeset.
Remove unused build version extra properties

Dedupe references to `BuildReceipt.BUILD_RECEIPT_FILE_NAME`

  1. … 1 more file in changeset.
Treat `version.txt` as a build logic input

By reading it via `providers.fileContents`.

Dedupe timestamp date format logic

  1. … 1 more file in changeset.
Convert `gradle/versioning.gradle` to Kotlin plugin in buidlSrc

Most of `versioning.gradle` becomes `BuildVersionPlugin`.

The rest becomes `build-receipt.gradle`.

Also, rename `testDependencies.gradle` to `test-dependencies.gradle` for consistency

with all the other scripts.

    • -0
    • +124
    ./BuildVersionPlugin.kt
  1. … 6 more files in changeset.