Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Combine and rewrite all documentation generation

    • -110
    • +0
    ./org/gradle/build/docs/Docbook2Xhtml.groovy
    • -100
    • +0
    ./org/gradle/build/docs/DomBuilder.groovy
    • -191
    • +0
    ./org/gradle/build/docs/UserGuideTransformTask.groovy
    • -60
    • +0
    ./org/gradle/build/docs/XslTransformer.java
  1. … 262 more files in changeset.
Change `ProjectBuilder` to mark the thread that creates the project as the owner of the project. This allows the test thread to do things such as dependency resolution.

Also change `ProjectState` to expose the `ResourceLock` associated with the project, so that consumers don't need to look this up somewhere else and make assumptions about where the lock comes from.

  1. … 12 more files in changeset.
Forcibly use java 8 for JDK links for now

  1. … 1 more file in changeset.
Change a few Groovy HTTP links in docs to HTTPS

  1. … 17 more files in changeset.
Remove :configureBuildReceipt configuration task

preferring idiomatic task outputs wiring

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

    • -13
    • +32
    ./org/gradle/build/BuildReceipt.groovy
  1. … 4 more files in changeset.
Simplify launcher project structure

  1. … 575 more files in changeset.
Revert "Use HTTPS for links to groovy docs from Javadoc"

This reverts commit 35342c85e520ea81ccc307743a40c053c957b99e.

  1. … 11 more files in changeset.
Use HTTPS for links to groovy docs from Javadoc

  1. … 11 more files in changeset.
Increase memory for single page documentation generator

  1. … 1 more file in changeset.
Add missing @Override to all modules

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

  1. … 985 more files in changeset.
Split :launcher into :launcher, :launcherBootstrap and :launcherStartup

in order to isolate Java 6 stuff

Let split launcher projects code be shipped in a fat jar

for backwards compatibility

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

  1. … 548 more files in changeset.
Update documentation as well

  1. … 1 more file in changeset.
Move ReplacedBy to org.gradle.api

Make sure we get an error if you combine two annotations with ReplacedBy

  1. … 9 more files in changeset.
Add ReplacedBy attribute to identify properties that are replaced by other properties

This is informational only for now. @ReplacedBy is treated like @Internal.

  1. … 7 more files in changeset.
Fix Docbook2Xhtml ambiguous javaexec classpath declaration

and move costly operations out of the source visitation loop

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

    • -4
    • +5
    ./org/gradle/build/docs/Docbook2Xhtml.groovy
Make `ReproduciblePropertiesWriter` entry order independent

By writing it on top of `PropertiesUtils` in order to make the parameter name

index files reproducible.

This commit also removes the now redundant test.

  1. … 3 more files in changeset.
Make DSL metadata extraction deterministic (#8379)

Previously MethodMetaData class doesn't override hashCode(), which results in indeterministic

when serializing `HashSet<MethodMetaData>`. This PR fixes that by providing proper hashCode() implementation.

This seems to be the cause of https://github.com/gradle/gradle-private/issues/1792

  1. … 1 more file in changeset.
Set Xms when setting to Xmx to prevent JAVA_TOOL_OPTIONS and _JAVA_OPTIONS from defaulting Xms too high

Signed-off-by: Joe Kutner <jpkutner@gmail.com>

  1. … 1 more file in changeset.
Make AsciidoctorTask cacheable again (#8148)

This fixes https://github.com/gradle/gradle-private/issues/1741

This PR does:

- Re-enables `CacheableAsciidoctorTask`

- Updates everything to the latest version.

- Fixes several broken cacheability issues.

- Tag the build `CACHE_MISS` upon unexpected cache-miss.

    • -0
    • +1
    ./org/gradle/build/BuildReceipt.groovy
  1. … 5 more files in changeset.
spelling: interfaces

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Enable code quality tasks for buildSrc

Previously, when we changed buildSrc to multi-project, the code quality tasks are disabled

accidentally because the plugin was applied to buildSrc root project. This PR fixes the issue

and several code style issues.

  1. … 2 more files in changeset.
Use JavaParser to generate DSL metadata

We no longer have any Groovy source files that are part of the API.

Thus, support for parsing them is no longer necessary. The Java parser

that was used until now does not support Java 7 or 8 source code

features such as try-with-resources, lambdas, and method references.

Now, the JavaParser library is used which supports all of them.

Resolves #7566.

  1. … 25 more files in changeset.
Lower default memory for the client VM

This VM is only there to display some log messages

by default and thus shouldn't need a lot of memory.

There is the corner case of running the build directly

inside the client VM with --no-daemon. In that case some

users may have to adjust their GRADLE_OPTS environment

variable to accomodate their project.

  1. … 1 more file in changeset.
Rename ReleasedVersions.{all -> allPrevious}Versions

To better describe what the method does now.

    • -1
    • +1
    ./org/gradle/build/ReleasedVersions.groovy
  1. … 1 more file in changeset.
Only test against previous releases

We should only test against previous releases, not against an RC or

snapshot of the current release.

We got into this situation since release and master have the base

version 5.0.

  1. … 1 more file in changeset.
Fix deprecation warnings in buildSrc

  1. … 8 more files in changeset.
Add samples as input to integration tests only

All the other tests are do not use the samples as an input.

Integration tests can use the `Sample` rule to copy some

samples into the test workspace.

    • -60
    • +0
    ./org/gradle/build/GradleDistribution.groovy
  1. … 5 more files in changeset.
Remove getting-started.html as input

to all the distribution tests. We have that file due to unpacking

the all distribution and it contains the version number of the version

under test.

    • -0
    • +1
    ./org/gradle/build/GradleDistribution.groovy
Remove getting-started.html as input

to all the distribution tests. We have that file due to unpacking

the all distribution and it contains the version number of the version

under test.

    • -0
    • +1
    ./org/gradle/build/GradleDistribution.groovy
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`.

    • -131
    • +0
    ./org/gradle/build/docs/AssembleSamplesDocTask.groovy
    • -56
    • +0
    ./org/gradle/build/docs/SnippetWriter.groovy
    • -59
    • +0
    ./org/gradle/build/docs/Xhtml2Pdf.groovy
  1. … 392 more files in changeset.