build.gradle.kts

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove wrong (and duplicated) build platform dependencies

  1. … 4 more files in changeset.
Fix platform dependencies in buildSrc project

  1. … 3 more files in changeset.
Organize `buildSrc` project dependencies

  1. … 12 more files in changeset.
Upgrade to japicmp-gradle-plugin 0.2.8

  1. … 8 more files in changeset.
Upgrade to japicmp-gradle-plugin 0.2.8

  1. … 9 more files in changeset.
Upgrade to japicmp-gradle-plugin 0.2.8

  1. … 8 more files in changeset.
Upgrade Guava from 27.1 to 28.0 (android/jre)

  1. … 4 more files in changeset.
Upgrade to Guava 28.0

  1. … 3 more files in changeset.
Upgrade to Guava 28.0

  1. … 3 more files in changeset.
Upgrade to Guava 28.0

  1. … 3 more files in changeset.
Upgrade to Guava 28.0

  1. … 3 more files in changeset.
Upgrade to Guava 28.0

  1. … 3 more files in changeset.
Upgrade to Guava 27.1

Still using the Android variant for now.

  1. … 5 more files in changeset.
Revert "Upgrade to Guave 27.1"

This reverts commit 6db14871d5cdb7a5f7923a3bf3ca121168236307.

  1. … 2 more files in changeset.
Upgrade to Guave 27.1

  1. … 2 more files in changeset.
First try to add a testkit test

  1. … 1 more file in changeset.
Fix Asciidoctor deprecation warnings (#8513)

This meant upgrading to version 1.5.10 of the Asciidoctor Gradle Plugin and

*also* specifying the version of AsciidoctorJ to use in the build because

version 1.5.10 of the plugin uses a version of AsciidoctorJ that is binary

incompatible with our Asciidoctor extension.

  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 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.

  1. … 6 more files in changeset.
Use implementation and api configurations instead of compile

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. … 28 more files in changeset.
Update Guava to 26.0

- Replace `Files.readLines()` with `Files.asCharSource().readLines()`

- Replace `Files.write()` with `Files.asCharSink().write()`

- Change `Objects.toStringHelper()` to `MoreObjects.toStringHelper()`

- Change `Iterators.emptyIterator()` to `Collections.emptyIterator()`

- Use `MoreExecutors.directExecutor()` with `Futures.addCallback`

- Replace `CharMatcher.JAVA_UPPER_CASE`/`JAVA_ISO_CONTROL` with

`CharMatcher.javaUpperCase()`/`CharMatcher.javaIsoControl()`

- Replace `new SimpleTimeLimiter()` with `SimpleTimeLimiter.create()`

- Update `DistributionIntegrationSpec` because Guava requires 4

additional downstream dependencies:

* org.checkerframework:checker-compat-qual

* com.google.errorprone:error_prone_annotations

* com.google.j2objc:j2objc-annotations

* org.codehaus.mojo:animal-sniffer-annotations

  1. … 25 more files in changeset.
Upgrade asciidoctor plugin to 1.5.6

asciidoctor plugin 1.5.3 did an ugly file name replacement for ruby files

in requires, which caused some failures on Windows. This PR tries to upgrade

that plugin to 1.5.6.

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. … 401 more files in changeset.
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

  1. … 528 more files in changeset.