Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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.
First try to add a testkit test

    • -0
    • +39
    ./groovy/org/gradle/build/docs/Docbook2XhtmlFunctionalTest.groovy
  1. … 1 more file in changeset.
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. … 6 more files in changeset.
Revert "Fix Javadoc tags with are not supported by HTML5"

This reverts commit 32c8d1337a08c48e7f45b127c4c9416ae195f925.

  1. … 18 more files in changeset.
Fix Javadoc tags with are not supported by HTML5

JDK11 complains some unsupported Javadoc tags, make it happy:

- <tt> -> <code>

- <table summary='xx'> -> <table><caption>xx</caption>

- <a name='xx'> -> <a id='xx'>

  1. … 18 more files in changeset.
Fix Javadoc tags with are not supported by HTML5

JDK11 complains some unsupported Javadoc tags, make it happy:

- <tt> -> <code>

- <table summary='xx'> -> <table><caption>xx</caption>

- <a name='xx'> -> <a id='xx'>

  1. … 18 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.

    • -0
    • +4
    ./resources/org/gradle/test/A.java
    • -0
    • +4
    ./resources/org/gradle/test/CombinedInterface.java
    • -0
    • +5
    ./resources/org/gradle/test/Interface2.java
    • -0
    • +34
    ./resources/org/gradle/test/Java8Interface.java
    • -1
    • +1
    ./resources/org/gradle/test/JavaClass.java
  1. … 14 more files in changeset.
Revert to using days instead of milliseconds in test

Fix test in buildSrc

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. … 400 more files in changeset.
Add support for write-only properties to DSL Reference generator

Prior to this commit, metadata for properties that only have setters but no getters was collected. However, when generating the DSL docs, a NPE was thrown when no getter was present. Now, write-only properties are fully supported, their Javadoc comment is adjusted ("Sets the thing" -> "The thing") and they are rendered using a "(write-only)" suffix.

  1. … 5 more files in changeset.
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

    • -0
    • +35
    ./groovy/org/gradle/build/ReproduciblePropertiesWriterTest.groovy
    • -0
    • +140
    ./groovy/org/gradle/build/UpdateReleasedVersionsTest.groovy
    • -0
    • +156
    ./groovy/org/gradle/build/docs/SampleLayoutHandlerTest.groovy
    • -0
    • +72
    ./groovy/org/gradle/build/docs/UserGuideTransformTaskTest.groovy
    • -0
    • +127
    ./groovy/org/gradle/build/docs/XmlSpecification.groovy
  1. … 514 more files in changeset.