Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use ProgressLogger so cache cleanup is visible

Merge pull request #5999 from gradle/lacasseio/lazy/remove-stats-documentation

Mention build scan instead of internal flag in the userguide

Make cache cleanup non-incremental

Refine ApiTypeProvider

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

Fix unit test for changed behaviour of `ConfigurationResolver`

Update comment to reflect changes

Moved generation of BuildOperation types out of ConfigurationResolver

Rebaseline ExcludeRuleMergingPerformanceTest

We're happy to see improvements in these tests, now rebaseline it.

Increase WorkerExecutorLoggingIntegrationTest timeout to 120s

Sometimes this test timeouts on EC2 agents, which is probably due to high load.

Convert user manual to be generated by Asciidoctor only

This change replaces all embedded Docbook syntax from the user manual.

Asciidoctor files are now converted directly to HTML and PDF.

It not only greatly simplifies the user manual generation pipeline, but also it makes it faster.

I did the following for all user manual pages:

- [x] Adjusted links to other manual pages, DSL docs, and Javadocs where necessary.

Fixed a couple dozen broken links at least.

- [x] Convert samples XML from docbook to asciidoctor syntax

- [x] Converted wide tables to a more flexible list-based display

Important contributor differences from now on:

- Users must use a `<file>.adoc#` prefix for all cross-reference links.

This is _required_ to achieve working links in all 3 outputs: multi-page user manual, single-page user manual, and PDF.

- The manual PDF is no longer themed, and no longer has the list of examples links in the TOC.

- File names were changed from camelCased to snake_case to have a crystal clear 1-1 mapping between source to output.

- Section reference verification is now handled by Asciidoctor verbose mode.

- The single-page user manual has the same navigation as the multi-page manual for now.

- [Common Asciidoctor extensions](https://github.com/gradle/dotorg-docs/tree/master/docs-asciidoctor-extensions) are now used by Gradle Guides and the User Manual, however, the the web assets (CSS, JS, etc) are not yet merged.

These extensions are responsible for injecting the navigation and styles.

The header/footer/navigation HTML can now be found under `subprojects/docs/src/main/resources`.

    • -1
    • +3
    /buildSrc/subprojects/build/build.gradle.kts
  1. … 387 more files in changeset.
Simplify generation of operation trace for resolution result

Improve test coverage for repository name on resolved components

- Split coverage for successful resolution from failed resolution

- Correctly verify build operation from fully-cached resolution

- Demonstrate bug in Gradle where repository is mis-attributed when

mixing same repository with and without credentials

Fix getting-started.html generation when creating distribution

Rename user manual asciidoc files to snake_case

This makes the file names match the output HTML file names,

allowing for us to convert the user manual to asciidoc only.

See also #5837

    • -0
    • +160
    /subprojects/docs/src/docs/userguide/antlr_plugin.adoc
    • -0
    • +240
    /subprojects/docs/src/docs/userguide/authoring_maintainable_build_scripts.adoc
    • -0
    • +94
    /subprojects/docs/src/docs/userguide/base_plugin.adoc
  1. … 156 more files in changeset.
Exclude sample config and output from all distribution

Disallow use of hooks by a lazy task configuration action

Pass Gradle API metadata jar argument explicitly

Remove unnecessary `KotlinFileCompiler` type hierarchy

Polish `ApiExtensionsGenerator`

- Replace complex if/else/if by when

- Compose method

- Autoformat

Polish `kotlinDslApiExtensionsDeclarationsFor`

- Compose method

- Flip `&&` to execute cheaper `isPublic` before `spec.isSatisfiedBy`

Merge branch 'develop' into eskatos/gradle-api-gen/kclass-and-groovy-named-arguments

Polish `GradleApiExtensions`

- Inline pair destructuring for clarity

- Compose method

Merge pull request #973 from gradle/eskatos/extensions/remove-incubating

Remove some @Incubating

Add test for build cache overhead on up-to-date build

Separate {Current,Historical}FileCollectionFingerprint

  1. … 27 more files in changeset.
Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 24 more files in changeset.
Remove some @Incubating

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

Merge pull request #972 from gradle/eskatos/intellij-resolver/remove-short-circuit

Let buildSrc changes be reflected in IntelliJ script editor instantly

Remove duplicate class analysis from memory

We no longer store the class analysis of a compile task's

output in that compile tasks's own cache. Instead, we compute

it right before we need it when the next compilation starts.

This removes a lot of unnecessary memory pressure, because no

one else was reusing that state.

It would be even better if we could reuse the analysis that

downstream tasks did on that classes directory (which is an input

for them). To do that we'd need to ensure consistent hashing strategies

between the two.

Remove ClasspathEntry abstraction

The content file tree was only needed in one location.

Inlined the code for creating that file tree and made

all other usages much simpler by using File instead of

ClassPathEntry.