UserGuideTransformTask.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Refactored buildSrc into modules to improve feedback cycles

- Created module boundaries around different languages and slow tests

  1. … 528 more files in changeset.
Fix buildSrc/UserGuideTransformTask task properties

Fix buildSrc/UserGuideTransformTask task properties

Add ability to define an executable for rendering sample output in docs (#3567)

  1. … 1 more file in changeset.
Polish buildSrc

  1. … 7 more files in changeset.
Use a generic `includes()` property for UserGuideTransformTask

+review REVIEW-6371

  1. … 2 more files in changeset.
Move ad-hoc properties into the task implementations for doc tasks

+review REVIEW-6371

  1. … 6 more files in changeset.
Extract samples task

Every UserGuideTransformTask was generating `samples.xml`,

probably with different content. We extract the task to create

`samples.xml` and by this we can make it cacheable.

+review REVIEW-6371

  1. … 7 more files in changeset.
Mark extra packages for `GenerateDefaultImportsTask` as input

+review REVIEW-6251

  1. … 1 more file in changeset.
UserGuideTransformTask is not a cacheable task

Make `UserGuideTransformTask` cacheable

+review REVIEW-6251

remove groovydoc from gradle docs project

  1. … 2 more files in changeset.
Remove DOMCategory since BuildableDOMCategory contains it

  1. … 1 more file in changeset.
Re-add removed imports

+review REVIEW-5710

Rework samples to avoid showing internal file updates in the userguide * userguide may now contain "hidden" outputs, allowing execution of gradle builds without showing the output * support code has been extracted into its own directory

+review REVIEW-5710

  1. … 6 more files in changeset.
Fix indentation of samples

+review REVIEW-5392

  1. … 3 more files in changeset.
Prepare for build with Gradle 2.0.

Compile task -> JavaCompile.

More strict checks for file name matching to class name.

Disable NoWildCardImport rule in codenarc.

Methods with the same name and different modifier are discouraged in Groovy 2.3.

TaskContainer.add() -> create().

  1. … 8 more files in changeset.
Added UserGuide content for CUnit - Minor updates to cunit sample - <output> element now has an 'expectFailure' attribute

  1. … 6 more files in changeset.
Added the ability to ignore line ordering when comparing userguide sample output to expected - Use this for incremental task samples that where ordering is OS dependent

  1. … 9 more files in changeset.
Fixed capitalisation of HTML, XML, and CSV in a bunch of places in the docs

  1. … 37 more files in changeset.
Moved some dsl doc model classes to o.g.build.docs.dsl.docbook.model

  1. … 28 more files in changeset.
Don't force a particular xml parser implementation.

  1. … 4 more files in changeset.
fix for bad DSL links introduced in my previous change to support nested classes.

Add support for nested classes to DSL reference doc.

  1. … 1 more file in changeset.
remove rogue prinltn

Reworked the UserGuideTransformTask so the it evaluates string properties lazily

  1. … 1 more file in changeset.
Fixed the 'API documentation' links in the dsl reference.

Fixed <apilink/> rendering when the target method is a script block configure method (eg Project.configurations). Was previously pointing to the Javadoc, now points to the dsl guide.

  1. … 4 more files in changeset.
tidy-ups

  1. … 1 more file in changeset.
- Moved the check for <layout> sample element contents to the int tests, and added an 'after' attribute which will check after the given tasks have been executed - ie check for generated files/dirs. - Changed the format for <layout> contents, so that directories must have a trailing '/'

    • -117
    • +90
    ./UserGuideTransformTask.groovy
  1. … 17 more files in changeset.