|
Note
|
All Gradle documentation content from this repository has been moved to the Gradle User Manual. |
This is a collection of very opinionated plugins that support the authoring of documentations for Gradle.
-
org.gradle.guides: The single guide project plugin. -
org.gradle.samples: The samples plugin. -
org.gradle.documentation: Used to generate all type of documentation (currently only guides and samples).
Each of the plugins generates a guide from Asciidoc source.
-
The source for the guide is located in
content/index.adoc -
Run
./gradlew guidesMultiPageto generate the guide intobuild/working/guides/render-guides/<name-of-guide>/index.html. -
Run
./gradlew view<NameOfGuide>Guideto generate the guide and open it in the browser. -
Run
./gradlew checkto execute all guide check.
-
Use exemplar 1.0.0
-
Force upgrade of asciidoctor-groovy-dsl to version 2.0.2 which can be resolved via Maven Central
-
Use Worker API for some sample related tasks so more things can run in parallel
-
Introduce new type of sample binary that does not have an associated zip
-
Skip asciidoctor-related validation tasks for non-promoted samples.
-
Include a common directory for samples by convention
-
Samples can be excluded from the samples index by setting the
sampleproperty to false. -
Samples can overwrite generated sanity checks with explicit Exemplar tests
-
Exemplar tests located in the
tests-groovyandtests-kotlinsubdirectory are only executed for the target dsl variant.
-
Add samplesInformation to list information about samples and template
-
Fix kebab-case handling for template names
-
Refactoring of the internal of all plugins to share most of the implementation
-
Discontinue the Getting Started, Topical and Tutorial plugins in favor of a category property on each guides
-
Introduce the
org.gradle.guideplugin opinionated to a single guide for the project (replacement for the discontinued plugins) -
Introduce the
org.gradle.documentationplugin for building all type of documentation -
Introduce the Asciidoctor content testing for guides and samples
-
Remove usage of the
org.ysb33r.cloudciandorg.ysb33r.gradlerunnerplugins -
Improve clarity around the public and internal APIs
-
Honor disabled Exemplar tests from previous test runs
-
Order sample index according to sample creation order inside build script
-
Capitalize the sample archive base name
-
Allow configuration of the sample permalink
-
Update Asciidoctor Gradle plugin to version 1.5.9.2
-
Allow sample display name to be customized (
sample.displayName) -
Pass sample display name to Asciidoctor generator as
sample-displayName -
Pass sample description to Asciidoctor generator as
sample-description
-
Use Exemplar 0.9.0
-
Allow README Asciidoctor files to use sample extension
-
Remove
Sampleprefix to on the auto-generated sample index page -
Remove
.gradleandbuilddirectory from sample archives -
Remove Asciidoctor tags from Gradle script files inside archives
-
Introduce sample description on the model
-
Expose Asciidoctor task on the sample model
-
Disable checkstyle check on the Exemplar generated source
-
Automatically add the license file if available to all sample archives
-
Allow samples archive content to be customized
-
Allow samples archive content to be generated
-
Allow samples to be tested via Exemplar
-
Add conventions for the
guideDSL:-
repositoryPathdefaults togradle-guides/${project.name} -
titledefaults to title case of theproject.name -
descriptiondefaults totitle
-
-
Fix
repoPathforwarding torepositoryPathproperty. -
Remove usage of
mainAuthorin preparation to removing the property.
-
Introduced
repositoryPathproperty on theguideDSL to replacerepoPathgetter/setter. -
Deprecate
repoPathgetter/setter. -
Add setup tasks to generate common files:
-
.github/CODE_OF_CONDUCT.mdgenerated byGenerateCodeOfConductFile -
.github/dco.ymlgenerated byGenerateDeveloperCertificateOfOriginConfiguration -
.gitignoregenerated byGenerateGitIgnoreConfiguration -
.editorconfiggenerated byGenerateEditorConfiguration -
LICENSEgenerated byGenerateLicenseFile -
README.adocgenerated byGenerateReadeMeFile
-
-
Add
setupGuidelifecycle task to configure everything about a guide by generating the common files above and configure the GitHub repository description and homepage.
-
Model the minimum Gradle version of a guide by introducing
minimumGradleVersionproperty on theguideDSL.
-
Edit
build.gradle.ktsand replace-SNAPSHOTversion with the version to release. -
Edit this README to update the changes section.
-
Commit and create tag, e.g.
git tag v0.15.9. -
Push changes and tag to master, e.g.
git push && git push origin v0.15.9 -
Create GitHub release.
-
Edit
build.gradle.ktsand replace version with-SNAPSHOTfor next version.