Gradle

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refine Help implementation

by renaming members for clarity

extracting explaining methods

ordering members for readability

leveraging @NonNullApi

simplifying the TaskPathHelp state type

creating sized collections where applicable

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

Merge pull request #9490 from gradle/eskatos/ie/cache-build-ops

Introduce load/store build ops for instant-execution state

Merge remote-tracking branch 'origin/release'

Merge pull request #9354 from gradle/lorinc/issue/9320/out-of-date-problem

Incorrect IncrementalTaskInputs.outOfDate files when using @InputFiles

Rework Help task to be instant-execution safe

This commit affects 'help --task=some' only.

By splitting the reporting logic into two:

- collect data from the project state

- format the output

The former is captured in a Provider<State> field

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

Refine DefaultInstantExecution

by letting buildOperationExecutor be looked up lazily

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

Refine instant execution test fixture usage

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

Instant-execution coverage for help --tasks=<some>

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

Move tests around and clarify naming

Simplify instant execution build operations

no details/results needed yet

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

Polish DefaultInstantExecution

by using reified generic service lookup

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

Refine InstantExecutionBuildOperations

deduplicating operations declaration in extracted function

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

Extract InstantExecutionbuildOperationsfixture

and make assertions explicit

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

Clear accepted public api changes

Merge branch 'release'

    • -0
    • +6
    /subprojects/docs/src/docs/release/notes.md
Improve artifact transform API docs (#9452)

By adding more samples and explanations to it.

Merge pull request #9485 from gradle/wolfs/xforms/release-notes

Add artifact transforms to release notes

    • -0
    • +17
    /subprojects/docs/src/docs/release/notes.md
Publish 5.5-20190522012010+0000

Merge pull request #9495 from gradle/bamboo/master/instant-execution/polish

Polish `:instantExecution`

Fix maven-publish to retry on transient network errors

- Add integration test for maven-publish retry

- Use `HttpErrorStatusCodeException` for upload failures

Merge branch 'master' into bamboo/master/instant-execution/polish

Polish `DefaultInstantExecution`

- Reorder deserialization statements for symmetry

- Shorten long expressions by:

- introducing explaining variable

- putting arguments of long invocation expressions on separate lines

Polish `InstantExecutionHost`

- Replace `getService(T::class.java)` by `service<T>()`

- Reorder members to improve top-to-bottom readability

- Add explicit non-obvious type declarations

- Prefer expression bodies over block bodies

- Prefer lambda syntax over object syntax for SAM types

- Prefer property syntax over method syntax for getters

Polish `:instantExecution` class declarations

- Introduce empty line before first member for readability

Polish `DefaultInstantExecution`

- Move unrelated side-effect from `loadTaskWithDependenciesFor` method

Polish `DefaultInstantExecution`

- Replace `if/else` chain block by `when` expression

Polish `DeserializationContext`

- Prefer `HashMap` over `IdentityHashMap` for `Int` keys

Polish `BeanFieldSerializer`

- Rename parameter for clarity

- Replace `if/else/return` block body by null-safe chain expression

Polish `BeanFieldDeserializer`

- Rename parameter for clarity

- Remove unnecessary generic parameter

Fewer forms

Co-Authored-By: Lóránt Pintér <lorant.pinter@gmail.com>

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md